running cron for updating django in celery code example
Example 1: celery periodic tasks
$ celery -A proj beat -s /home/celery/var/run/celerybeat-schedule
Example 2: celery periodic tasks
$ celery -A proj worker -B
$ celery -A proj beat -s /home/celery/var/run/celerybeat-schedule
$ celery -A proj worker -B