Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved when do tasks/cron jobs run
#1
Not Solved
Just a question I am pondering .... the cron jobs (tasks) that are set in the task manager how are they run ?
do they rely on some one looking at thesite and executing the footer template code
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->

I would guess this is the case, which then gives a problem perhaps ... if no one views the site (executes the code in the footer template) do the tasks run or do any backed up (over due) tasks run when some one executes the code in the footer template ?
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

#2
Not Solved
They'll only run when someone visits the site; there isn't really another way we'd be able to do it. Cron jobs on the server would get around that, but it's the best we're able to do to have them run solely within the forum and not start requiring adding cron jobs to the server, something has to trigger it somehow.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Not Solved
(2013-10-04, 05:31 PM)Matt. Wrote: They'll only run when someone visits the site; there isn't really another way we'd be able to do it. Cron jobs on the server would get around that, but it's the best we're able to do to have them run solely within the forum and not start requiring adding cron jobs to the server, something has to trigger it somehow.

this may not be a problem adding a cron job to the server (my server anyhow) but if the site has a period of in activity are the missed tasks ran as being overdue ?
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

#4
Not Solved
Yeah they'll still run at the next possible opportunity.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#5
Not Solved
(2013-10-04, 08:05 PM)Matt. Wrote: Yeah they'll still run at the next possible opportunity.

cool I'll code around it
Not in this land alone,
But be God's mercies known,
From shore to shore!
Lord make the nations see,
That men should brothers be,
And form one family,
The wide world ov'er

Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 2 Guest(s)