hook_cron_post_execute.html 296 B

1234567891011
  1. <p>The hook_cron_post_execute($function, &$hook) is invoked just after running the cron function.</p>
  2. <h3>Example</h3>
  3. <p>Log that node_cron is done</p>
  4. <pre>
  5. function hook_cron_post_execute($function, &$hook) {
  6. if ($function == 'node_cron') {
  7. error_log('node_cron is done');
  8. }
  9. }
  10. </pre>