Quand je lance script m comme celui-ci sur ubuntu en tant que root, cela fonctionne:emplois Céleri pas en cours d'exécution
./my_celery.sh
Mais quand il fonctionne avec Upstart comme cela, il n'exécute pas la tâche:
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
démarrer: Le
Service my_celery départ
Log:
[2015-07-20 11:56:46,563: INFO/MainProcess] Scheduler: Sending due task The Parmalat Daily Report (minamobime_coza.tasks.parmalat_report)
Les tâches ne sont jamais exécutées