cronjob @reboot monthly?

Ed Greshko Ed.Greshko at greshko.com
Sun May 13 09:58:05 UTC 2012


On 05/13/2012 05:48 PM, Frank Murphy wrote:
> Can I do:
> crontab -e
> @reboot monthly yum clean plugins
>
>

My guess is no....  from man 5 crontab

EXTENSIONS
       These special time specification "nicknames" which replace the 5 initial
       time and date fields, and are prefixed with the '@' character, are  sup‐
       ported:
       @reboot    :    Run once after reboot.
       @yearly    :    Run once a year, ie.  "0 0 1 1 *".
       @annually  :    Run once a year, ie.  "0 0 1 1 *".
       @monthly   :    Run once a month, ie. "0 0 1 * *".
       @weekly    :    Run once a week, ie.  "0 0 * * 0".
       @daily     :    Run once a day, ie.   "0 0 * * *".
       @hourly    :    Run once an hour, ie. "0 * * * *".


-- 
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage


More information about the users mailing list