Locking

Last updated on
15 July 2018

This is documentation for Drupal 7, which is no longer supported. Learn more and find resources for Drupal 7 sites

Ultimate Cron has its own locking backend in order to support persistent and unlockable locks across requests.

By default it uses the database to store the locks. This can be changed by overriding which class to use for locking.

Currently only database and memcache is supported.

To use memcache instead of database, add the following to settings.php:

$conf['ultimate_cron_class_lock'] = 'UltimateCronLockMemcache';

Help improve this page

Page status: No known problems

You can: