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

Problem while setting up crons in multiple projects. #132

Open
ayush-alm opened this issue Sep 12, 2024 · 0 comments
Open

Problem while setting up crons in multiple projects. #132

ayush-alm opened this issue Sep 12, 2024 · 0 comments

Comments

@ayush-alm
Copy link

I have two projects, say proj1 and proj2. I defined CRONJOBS = [ ] in settings.py of both the projects.
When (in proj1) I try python manage.py crontab add, cronjobs are added without any errors, but when I switch over to proj2 to setup the crons and I run python manage.py crontab add, It gives error like

raise RuntimeError(
RuntimeError: No job with hash 1585718eba84fe992eba0db2820c0438 found. It seems the crontab is out of sync with your settings.CRONJOBS. Run "python manage.py crontab add" again to resolve this issue!

Environment & Versions

  • Operating system: Ubuntu 22.04
  • Python: Python 3.10.12
  • Django: Django==5.0
  • django-crontab: django-crontab==0.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant