MyBB Community Forums

Full Version: Tasks not running when specified
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

I scheduled something to run every 15 mins, but it doesn't run every 15 mins. It only runs when I tell it to manually.

I tried a cron job, but it gave me some include errors :s
perhaps if your more specific about exactly what 'include' errors your referring to then someone may be able to help you. It might also help to cite what task your trying to setup.
Also, tasks will only run if there is a user on the forums when the time to run the task comes around. For instance, you have a task set to run every 15 mins, but no one visits your forum for 60 mins. The task will only run after the 60 minutes. There is a small bit of code in the templates that triggers the tasks to run when someone browses your forums.

Hope it helps,
BMR777
Thanks. I am trying another method with cron to see if it works
and can a browsing bot (like googlebot) trigger the task to?
(2008-09-11, 05:56 AM)scylla Wrote: [ -> ]and can a browsing bot (like googlebot) trigger the task to?
Generally no, because the task is triggered via an image, and bots don't download images...
Thanks. Had to
 cd /wwwdir ; cmd to run task

To make it work