You are here

hook_daily.html in Ultimate Cron 6

Same filename and directory in other branches
  1. 8 help/hook_daily.html
  2. 7 help/hook_daily.html

File

help/hook_daily.html
View source
If you just want a cron job that runs once per day by default, you can use hook_daily().

<h3>Example</h3>
<pre>
// Easy-hook, uses rule: 0 0 * * *
function mymodule_daily() {
  // Do some stuff
}
</pre>