- Issue created by @klausi
- Status changed to Needs review
2 months ago 3:24pm 9 September 2024 - Status changed to RTBC
2 months ago 11:22am 10 September 2024
Same as β¨ Option to do not delete the job on exception Needs work for Drupal 7.
Problem: when there is a PDOException from the database during your cron job run then the cronjob will be deleted. That is very bad when I expect the cronjob to run every hour and the exception was just temporary.
Throw an exception in the callback of a job. Observe how the job is dropped from the job_schedule after execution.
Add a variable to never drop jobs.
Patch review.