You are here

function elysia_cron_unlock_env in Elysia Cron 6.2

Same name and namespace in other branches
  1. 7.2 elysia_cron.module \elysia_cron_unlock_env()

Unlock system locked with elysia_cron_lock_env

@see: elysia_cron_prepare_run()

3 calls to elysia_cron_unlock_env()
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 in ./elysia_cron.module
Public function to invoke a complete cron_run
elysia_cron_run_channel in ./elysia_cron.module
Public function to execute all jobs in a channel

File

./elysia_cron.module, line 1014

Code

function elysia_cron_unlock_env() {

  // Release cron lock.
  if (EC_DRUPAL_VERSION >= 7) {
    lock_release('cron');
  }
  else {
    _ec_variable_del('elysia_cron_semaphore');
  }
}