#!/bin/bash

# When running the worker, we don't attend pending requests: we first remove them
celery -A tasks amqp queue.purge startertasks
celery -A wcloud.tasks.starter_tasks worker -Q startertasks --loglevel=info

#!/bin/bash

# When running the worker, we don't attend pending requests: we first remove them
celery -A tasks redis queue.purge startertasks
celery -A wcloud.tasks.starter_tasks worker -Q startertasks --loglevel=info

Use redis for purging the startertasks queue
Use redis for purging the startertasks queue
