-
Notifications
You must be signed in to change notification settings - Fork 0
scheduled shutdown
echo0101 edited this page Oct 24, 2014
·
7 revisions
Scheduling http://docs.celeryproject.org/en/latest/
res = shutdown.apply_async(('i-xxx'), queue='xxx', countdown=s_wait)
store res.id in ec2 tags to look up later. when shutdown is executed, remove the tag
Canceling Shutdown
Checking that there are workers running
- http://celery.readthedocs.org/en/latest/userguide/workers.html#inspecting-workers
- http://stackoverflow.com/questions/14142150/celery-programatically-list-workers
Failure notification
Daemonizing