Skip to content
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

Document production cron #1014

Open
jefftriplett opened this issue Aug 21, 2023 · 0 comments
Open

Document production cron #1014

jefftriplett opened this issue Aug 21, 2023 · 0 comments
Labels

Comments

@jefftriplett
Copy link
Contributor

          > We can adjust cron in a new PR.

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:

djangopackages/fabfile.py

Lines 127 to 131 in 024ece9

def cron():
with env.cd(env.project_dir):
docker_compose("run django-a python manage.py import_classifiers")
docker_compose("run django-a python manage.py import_products")
docker_compose("run django-a python manage.py import_releases")

Do we set this up manually on production server by modifying the crontab file?

Originally posted by @saadmk11 in #1012 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants