celery periodically run a task 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