hook_cron_pre_execute_function.html in Ultimate Cron 7
Same filename and directory in other branches
File
help/hook_cron_pre_execute_function.htmlView source
<p>The hook_cron_pre_execute_FUNCTION(&$hook) is invoked just before running the cron function.</p> <h3>Example</h3> <p>Call another function instead of the defined</p> <pre> function hook_cron_pre_execute_node_cron(&$hook) { $hook['callback'] = 'mymodule_steal_cron_function_from_node_module'; } function mymodule_steal_cron_function_from_node_module() { error_log('PWNED'); } </pre>