You are here

hook_monthly.html in Ultimate Cron 7

Same filename and directory in other branches
  1. 8 help/hook_monthly.html
  2. 6 help/hook_monthly.html

File

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

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