Not Solved MyBB Task Manager - How they really work?
#1
Not Solved
Hello,

I am just curius on how the task manager actually works in myBB. I mean is MyBB using a crontab to do that or just is simplier than it seems?

If i choose for example to run a task every min, it will run every min or i have to make a request to myBB forum to run it?

Hope you understand me

Thank you
Reply
#2
Not Solved
It runs whenever a user requests the site at all and it's been scheduled to run. It's a very basic system.
Reply
#3
Not Solved
I'm no expert on the subject but I think this is correct: An image exists in the footer of the page output that actually links to a script that runs scheduled tasks. So when anyone views a forum page the task queue is checked and if tasks are due they are processed.

I am sure if that is inaccurate someone will correct me.

EDIT: Ninja payback from Euan
[retired]
Reply
#4
Not Solved
Your explanation is far more thorough though Wildcard Wink
Reply
#5
Not Solved
Yeah, that's why you beat me-- took too long to type :p
[retired]
Reply
#6
Not Solved
(2013-05-27, 06:55 PM)Euan T Wrote: It runs whenever a user requests the site at all and it's been scheduled to run. It's a very basic system.



Yes i understand. I saw the code only for 5 mins and since i didint find anything related to crontab i wanted to ask just to verify it.


Thank you guys. :-)
Reply
#7
Not Solved
Sorry for bumping an older thread, but I want to add that each time task.php is executed (such as in the footer), it only tries to execute a single task.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)