function scheduler_cron_is_running in Scheduler 2.x
Same name and namespace in other branches
- 8 scheduler.module \scheduler_cron_is_running()
- 7 scheduler.module \scheduler_cron_is_running()
Return whether Scheduler cron is running.
This function can be called from any Scheduler function, from any contrib module or from custom PHP in a view or rule.
Return value
bool TRUE if scheduler_cron is currently running. FALSE if not.
File
- ./
scheduler.module, line 873 - Scheduler publishes and unpublishes entities on dates specified by the user.
Code
function scheduler_cron_is_running() {
return drupal_static('scheduler_cron');
}