equal
deleted
inserted
replaced
34 $last_run_threshold = doubleval(time()) - ( 3600.0 * $interval ); |
34 $last_run_threshold = doubleval(time()) - ( 3600.0 * $interval ); |
35 if ( $last_run_threshold >= $last_run ) |
35 if ( $last_run_threshold >= $last_run ) |
36 { |
36 { |
37 foreach ( $tasks as $task ) |
37 foreach ( $tasks as $task ) |
38 { |
38 { |
39 @call_user_func($task); |
39 call_user_func($task); |
40 } |
40 } |
41 setConfig("cron_lastrun_ivl_$interval", strval(time())); |
41 setConfig("cron_lastrun_ivl_$interval", strval(time())); |
42 } |
42 } |
43 } |
43 } |
44 |
44 |