Crontab tricks

Dazed_75 lthielster at gmail.com
Tue May 15 00:58:04 MST 2007


For the noobs like me who were not exactly sure how to use this tidbit, you
can get a better description from "man 5 crontab".  For example, you can use
"@yearly" in place of the first 5 fields (0 0 1 1 *) in a crontab entry to
make a more humanly readable entry.

On 5/11/07, Shawn Badger <badger.shawn at gmail.com> wrote:
>
> Here are some useful crontab tricks that I found a while back on the
> web and then someone posted them again. So I though I should pass them
> on to the group.
>
>
> Entry              Description                  Equivalent To
> @reboot         Run once, at startup.   None
> @yearly          Run once a year        0 0 1 1 *
> @annually       (same as @yearly)    0 0 1 1 *
> @monthly        Run once a month     0 0 1 * *
> @weekly         Run once a week       0 0 * * 0
> @daily           Run once a day         0 0 * * *
> @midnight     (same as @daily)       0 0 * * *
> @hourly         Run once an hour        0 * * * *
>
>
> I found them again at this site:
>
> http://blog.lxpages.com/2007/05/10/neat-crontab-tricks/
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



-- 
Be who you are and say what you feel, because those who mind don't matter
and those who matter don't mind.  - Dr. Seuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070515/364aa733/attachment.htm 


More information about the PLUG-discuss mailing list