I am using a GAE push Task Queue. I want the task to run once and if it fails I want it to notify me somehow. I also don't want it to do any retries. If it fails I want it to sit in the queue until I rerun it manually.
I can manually catch all exceptions and send an email to myself it it fails. Is there a better way? In the queue config I can specify retry limit (see below) of zero but if I do this the task is deleted as soon as it fails.
# queue.yaml
- name: default
rate: 5/s
retry_parameters:
task_retry_limit: 0
Any ideas?