-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move cron jobs to django-q
scheduled tasks
#1012
Conversation
for more information, see https://pre-commit.ci
@@ -1,5 +1,6 @@ | |||
bs4 | |||
cloudflare | |||
croniter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you want to use this for something? (Not seeing it referenced in case it's used in an unobvious place.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is required by django-q2 to parse cron expressions. https://django-q2.readthedocs.io/en/master/schedules.html#django_q.Schedule.cron
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I left the note about croniter
in case you were wanting to use that in settings
.
@mashrikt looks great. We can adjust cron in a new PR. I'll hold off on deploying |
Do you mean the cron schedule? How do we setup cron jobs on the current production servers? I don't see any references to it on the codebase other than this: Lines 127 to 131 in 024ece9
Do we set this up manually on production server by modifying the |
Reference #961
TODO: