Drupal core lets you know that cron is not running via hook_requirements.

Maybe the hosting_queued module could do something similar.Don't we store a timestamp of the last run?

Comments

helmo created an issue.

steven jones’s picture

Yeah, if we don't have it already, maybe something in the queue daemon 'event loop' that just writes a variable every minute or so as a 'heartbeat'.

We'd probably want to flag it up as a big warning on most pages too, rather than just something on the status page, to make it more obvious.

ergonlogic’s picture

We have the hosting_queue_tasks_last_run variable that gets set by the cron-based task queue. We could presumably also update that periodically via the queue daemon. We could then just check that variable against the current time, presumably with some configurable interval, and start throwing warnings from there.