Ignore:
Timestamp:
Apr 30, 2016, 11:55:02 PM (9 years ago)
Author:
chronos
Message:
  • Modified: Notify background job is now needed to run separately by cmd.php notify.
  • Added: Catch exception thrown from scheduler jobs.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Scheduler/Scheduler.php

    r799 r830  
    7676        {
    7777          $Class = new $DbRow['Class']($this->System);
    78           $Output = $Class->Execute();
     78          try {
     79            $Output = $Class->Execute();
     80          } catch (Exception $E) {
     81            echo($E->getMessage()."\n");
     82          }
    7983          echo($Output);
    8084        } else echo('Class '.$DbRow['Class'].' not found'."\n");
Note: See TracChangeset for help on using the changeset viewer.