You are here

function elysia_cron_unlock_env in Elysia Cron 7.2

Same name and namespace in other branches
  1. 6.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_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 1207

Code

function elysia_cron_unlock_env($channel = NULL) {
  $semaphore_name = elysia_cron_build_semaphore_name($channel);
  lock_release($semaphore_name);
}