1234567891011 |
- <p>The hook_cron_post_execute($function, &$hook) is invoked just after running the cron function.</p>
- <h3>Example</h3>
- <p>Log that node_cron is done</p>
- <pre>
- function hook_cron_post_execute($function, &$hook) {
- if ($function == 'node_cron') {
- error_log('node_cron is done');
- }
- }
- </pre>
|