The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vB3 cron system
What is the CLEAN (i.e., not exit!) way of ending a cron script?
For example, I have this function: PHP Code:
|
#2
|
||||
|
||||
My host says return;
dunno if thats any help |
#3
|
|||
|
|||
Quote:
I don't want to edit any of vB's files, if possible, as this is for vBMS and I'm avoiding that for this release. |
#4
|
|||
|
|||
A thought occurs: is there an exit handler function that will make a graceful exit anyway when exit is used?
|
#5
|
||||
|
||||
How do you mean? (me lost) my host still swears u should use exit at the end of the cron line
|
#6
|
|||
|
|||
Quote:
|
#7
|
||||
|
||||
Doh! Sorry for wasting your time Filburt.
|
#8
|
|||
|
|||
Filburt isn't control given automatically given back to the main cron script as it loops through each required file? Unless your function isn't itself going to be a cron script.
Cheers, g-force2k2 |
#9
|
|||
|
|||
Quote:
PHP Code:
|
#10
|
|||
|
|||
Could not not define a global variable that is ran through each loop and if an error is occured then instead of continuing the while loop it could instead break out, and if necessary first build a new cron log? Just an idea.
Cheers, g-force2k2 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|