"; print "
";
print mrjc_show_cron_schedules();
print "";
}
//// Code
function mrjc_show_cron_schedules() {
$timeslots = _get_cron_array();
if ( empty($timeslots) )
return $ans+"Nothing scheduled";
$ans = '';
$count = 1;
foreach ( $timeslots as $time => $tasks ) {
$ans .= "Entry #$count: Anytime after ".strftime("%c",$time)." execute tasks:";
foreach ($tasks as $procname => $task) {
$ans .= $procname." ";
$count++;
}
$ans .= "\n";
}
return $ans;
}
?>