Linked Questions

Popular Questions

Django crontab not working in elastic beanstalk

Asked by At

My cron jobs work fine on localhost but when i deploy they are not getting added. The following settings.py:

CRONJOBS = [
('*/1 * * * *', 'push.cron.my_scheduled_job')

] In development, cron works perfectly by doing this:

  1. python manage.py crontab add
  2. python manage.py crontab run 2e847f370afca8feeddaa55d5094d128

But when i deploy it to server using.. the cron jobs don't get added automatically. How do i add the crob jobs to the server ?

Related Questions