When I run m script like this on ubuntu as root, it works:
./my_celery.sh
But when it runs with Upstart like this it does not execute the task:
Upstart:
description "Django instance"
start on runlevel [2345]
stop on runlevel [06]
respawn
respawn limit 10 5
exec /var/www/webapps/myapp/my_celery.sh
Start it:
service my_celery start
Log:
[2015-07-20 11:56:46,563: INFO/MainProcess] Scheduler: Sending due task The Parmalat Daily Report (minamobime_coza.tasks.parmalat_report)
The tasks are never executed