function elysia_cron_before_execution in Elysia Cron 6.2
Use this before executing a cron handler
@see: elysia_cron_prepare_run()
2 calls to elysia_cron_before_execution()
- elysia_cron_internal_execute_channel in ./
elysia_cron.module - Internal function to execute all jobs in a channel elysia_cron_lock_env() must be called BEFORE calling this method
- elysia_cron_run_job in ./
elysia_cron.module - Public function to execute a single job
File
- ./
elysia_cron.module, line 1029
Code
function elysia_cron_before_execution() {
global $conf;
if (EC_DRUPAL_VERSION < 7) {
// Some modules (feedapi, ipaper...) uses the internal "cron_semaphore" variable to detect
// start time of cron process. I'll set this only in memory for that purpose.
// (In normal drupal cron execution that is done by a variable_set just before this call,
// but i need to set this manually if drupal cron is bypassed)
$conf['cron_semaphore'] = time();
}
}