The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Sceduled tasks while forum is turned off
Are scheduled tasks supposed to still run when the forum is turned off?
Or are scheduled tasks intentionally paused by default when the forum is turned off? Thanks, James |
#2
|
|||
|
|||
Well, I don't think they're paused by turning the forum off, but they do depend on forum traffic to run (and probably human traffic since I'm guessing that spiders wouldn't bother requesting the cron image). The "board is unavailable" message does seem to have the cron image on it so even with members only seeing that message the scheduled tasks should run, but maybe not as often, especially if you have few active members.
|
#3
|
|||
|
|||
This is my test forum I'm dealing with right now. So it doesn't get much traffic besides me testing out modifications.
It appears that none of my scheduled tasks have run for the past 48 hours. I haven't changed the footer templates at all. The cron image link is still there. I have been adding my own scheduled tasks, which seem to run find when I manually run them from the AdminCP. This is a mystery... |
#4
|
|||
|
|||
If you manually run then yes they will run
|
#5
|
|||
|
|||
After doing some trouble shooting, I found out that the scheduled tasks do not run on my forum when it is turned off. I'm guessing that's the intended behavior.
When the forum is turned on again, scheduled tasks run at their intended intervals for "today", but do not play catchup for the scheduled tasks they missed in the past. What was most confusing to me, is that I saw things in the Scheduled Task Manager that said "Next Time" -> "Yesterday12:10 AM" which indicated the last time that task was scheduled to run before the forum was turned off. |
#6
|
|||
|
|||
Hmm...well sorry to mislead you. I usually check the code before posting something like that, but I was in a hurry so I just assumed based on the fact that cron.php was there, and in cron.php there doesn't seem to be any check for the forum being turned off. To be honest I tried to check further into the code and I still don't see any check, but I guess I'm missing something. It does kind of make sense that they should be "paused" since you normally turn off the forum to limit activity.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|