function kaltura_test_cron_job_status in Kaltura 5
Same name and namespace in other branches
- 6.2 includes/kaltura.admin.inc \kaltura_test_cron_job_status()
- 6 includes/kaltura.admin.inc \kaltura_test_cron_job_status()
- 7.3 includes/kaltura.admin.inc \kaltura_test_cron_job_status()
- 7.2 includes/kaltura.admin.inc \kaltura_test_cron_job_status()
1 call to kaltura_test_cron_job_status()
- kaltura_settings_form in includes/
kaltura.admin.inc
File
- includes/
kaltura.admin.inc, line 676
Code
function kaltura_test_cron_job_status() {
$cron_last = variable_get('cron_last', NULL);
if (!$cron_last) {
return array(
FALSE,
'cron has not run. If you don\'t configure cron job, statistics about kaltura items will not be updated.',
);
}
else {
return array(
TRUE,
'cron has run. Be sure that you have a cron job configured, so you don\'t need to run it manually.<br />' . 'Statistics about kaltura items will only be updated at cron run.',
);
}
}