Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Scheduled tasks

Sergio Infante edited this page Apr 19, 2016 · 1 revision

This project has a custom django-admin command to calculate on 1st days of every month, new values for employee current month score and last month score.

The command line in local environment is:

python manage.py nextmonth

And also it works on heroku:

heroku run python manage.py nextmonth

NOTE: Heroku scheduler is needed in order to schedule a daily execution on production environment

Reference: http://guidovanoorschot.nl/adding-cron-jobs-to-a-django-project-with-heroku-scheduler/

Clone this wiki locally