function elysia_cron_reset_stats in Elysia Cron 7
Same name and namespace in other branches
- 5.2 elysia_cron.module \elysia_cron_reset_stats()
- 5 elysia_cron.module \elysia_cron_reset_stats()
- 6.2 elysia_cron.module \elysia_cron_reset_stats()
- 6 elysia_cron.module \elysia_cron_reset_stats()
- 7.2 elysia_cron.module \elysia_cron_reset_stats()
1 call to elysia_cron_reset_stats()
File
- ./
elysia_cron.module, line 679
Code
function elysia_cron_reset_stats() {
global $elysia_cron_settings, $elysia_cron_settings_by_channel;
elysia_cron_initialize();
foreach ($elysia_cron_settings as $job => $conf) {
elysia_cron_set_job_stats($job, -1, 0, 0, 0, 0);
}
foreach ($elysia_cron_settings_by_channel as $channel => $conf) {
elysia_cron_set_channel_stats($channel, -1, 0, 0, 0, 0, 0, 0, 0, 0);
}
}