function hook_cron_alter in Elysia Cron 7.2
Altering hook_cron definition.
You can use the "hook_cron_alter" function to edit cronapi data of other modules.
Parameters
array $data: Array of cron rules.
1 invocation of hook_cron_alter()
- elysia_cron_module_jobs in ./
elysia_cron.module - Fetch information about cron jobs from modules.
File
- ./
elysia_cron.api.php, line 128 - Hooks provided by the Elysia cron module.
Code
function hook_cron_alter(&$data) {
$data['key']['rule'] = '0 */6 * * *';
}