Duplicate Cron removed from xf_job, and never gets requeued

Jake B.

Well-known member
Not sure specifically what led to it being removed, but a customer of ours contacted us about their XF crons no longer running, and I found that the job wasn't in the xf_job table, and it looks like XenForo only queues the cron job when either the existing one finishes, or when a cron is saved. It's possible the behavior of this is different in 2.2, but I haven't been able to check yet as the person who had this issue is still running 2.1
 
It's just a case of re-queueing the job either by triggering a cron save or adding it manually as you noted.

There's generally no expectation for it to ever be removed so the focus needs to be on identifying and preventing that root cause.
 
That advice was for a very specific issue that is no longer relevant.

For the general issue of the cron entry being missing from the job table, see here for a similar bug report:

 
Top Bottom