Quote:
Originally Posted by g-force2k2
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
|
Well for example:
PHP Code:
// is vBMS even enabled?
debugecho("Checking for vBMS enabled...");
if (!$vboptions['vbms_enabled'])
{
log_cron_action("$logprefix mail check ignored: vBMS is not enabled", $nextitem);
}
After that log entry, the script should hand control over to the next scheduled cron job (if any). As it is now (as I understand it, at least), it will just continue running, even though a known failure point was effectively ignored.