Sim
Well-known member
If something happens to the "cron" job in
The only way to re-create the cron job is to create or save a cron entry - however, for a server running in production, you cannot edit any existing cron entries without turning on debug mode.
While it is possible to manually create and save a temporary cron entry which will force a reset of the cron job, that's not terribly intuitive or user friendly.
It would be useful to have a simple "rebuild cron job" entry in the admin ui - perhaps in the Rebuild Caches section to force a refresh?
Note that I just helped a user do exactly this - their production server was moved to a new machine by their host and somehow the cron job got corrupted or deleted and so cron tasks had not been running for several days.
After creating and saving a temporary cron task, cron tasks are now executing again.
xf_job
(eg it becomes corrupted or missing), then cron entries will not run.The only way to re-create the cron job is to create or save a cron entry - however, for a server running in production, you cannot edit any existing cron entries without turning on debug mode.
While it is possible to manually create and save a temporary cron entry which will force a reset of the cron job, that's not terribly intuitive or user friendly.
It would be useful to have a simple "rebuild cron job" entry in the admin ui - perhaps in the Rebuild Caches section to force a refresh?
Note that I just helped a user do exactly this - their production server was moved to a new machine by their host and somehow the cron job got corrupted or deleted and so cron tasks had not been running for several days.
After creating and saving a temporary cron task, cron tasks are now executing again.
Upvote
0