Forums

Scheduled Tasks Not Running

Hi

I have scheduled daily tasks to run, but the last run was on the 23rd (and successful at that)? What could be the problem be? The last run should have been on the 24th but nothing happened.

Thanks

We have been investigating an intermittent bug on the scheduled task runner, which could be the cause. We've got a fix in testing, which we're hoping to deploy next week -- hopefully that will make it more reliable...

In the meantime, one workaround could be to set up a second scheduled task, that runs after the first one, and that checks whether it ran, and if it didn't complete successfully, it tries to re-run it? It's a bit clunky, but it should work, if you need more reliability while we haven't deployed the fix yet...

Thanks Harry - how would I work the additional code to do the check? Is that something I can hook into?

You'd have to figure out your own system -- you could maybe write some sort of timestamp to a file?

:) Cool - I'll get some check going for sanity sake.