[Rejected] Task Manager CRON job
#1
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.
Reply
#2
http://docs.mybb.com/1.6/Help-Task-System/
No longer involved in the MyBB project.
Reply
#3
Add a file with something like the following to /etc/cron.d
*/2 * * * * nobody wget -O /dev/null http://mydomain.com/forums/task.php > /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.
Reply
#4
This is not a bug report so rejecting.
Support PMs will be ignored!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)