From e868ee8451d1778a405a730f19292538de6d7921 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Mon, 30 Dec 2013 14:28:14 -0500 Subject: Issue #2136369 by marvil07: Provide a way to avoid processing a queue during cron execution. --- modules/system/system.api.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/system') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index 276dbca18..f54078b6d 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -610,6 +610,9 @@ function hook_cron() { * with one argument, the item created via DrupalQueue::createItem(). * - 'time': (optional) How much time Drupal should spend on calling this * worker in seconds. Defaults to 15. + * - 'skip on cron': (optional) Set to TRUE to avoid being processed during + * cron runs (for example, if you want to control all queue execution + * manually). * * @see hook_cron() * @see hook_cron_queue_info_alter() -- cgit v1.2.3