Task scheduler hung up and stopped completing tasks for several days
-
I had installed Task Scheduler to run an API script in the background every couple minutes to update some data, but the data hasn’t been updating.
When I looked, I saw that there was a huge queue of scripts running back several days, none of which had completed. When I cleared out the queue and ran it again all the numbers updated.
I can’t tell what caused the huge backup or why none of the scripts ran. Looking in the PHP error log I see that there was a server outage at one point causing 500 errors, could that have caused the issue?
Is there a way to prevent this sort of issue in the future – maybe some way to periodically delete out hung-up tasks and give the scheduler a fresh start?
Thanks!
- The topic ‘Task scheduler hung up and stopped completing tasks for several days’ is closed to new replies.