MyBB Community Forums

Full Version: Task Manager CRON job
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
From what I can gather the current 'Task Manager' does not run unless the myBB forum is being browsed, In some threads it is recommended to run as a CRON job but I cannot find a clear documented way to set up and run task manager as a cron job.

Please can someone advise how this can be achieved.
Add a file with something like the following to /etc/cron.d
*/2 * * * * nobody wget -O /dev/null > /dev/null 2>&1

This calls wget every 2 minutes, directing stdout and stderr to /dev/null. nobody is the user to run as. As always, replace the URL with the correct one.

Note that this uses the same system as MyBB, including honoring if a task is enabled.
This is not a bug report so rejecting.