Re: Crontab tricks

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Dazed_75
Date:  
To: Main PLUG discussion list
Subject: Re: Crontab tricks
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 <> 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 -
> 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
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss