Re: Crontab tricks

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Dan Lund
Date:  
To: Main PLUG discussion list
Subject: Re: Crontab tricks
Its just better to learn the 5 field syntax anyway, because its
standard across unices.



On 5/15/07, Dazed_75 <> wrote:
> That gives a less terse explanation of crontab for anyone who needs one. I
> was not looking for help, but offering some to people who did not understand
> cron. I believe I was correct in how to use these shortcuts though I never
> have used them. Back in the day when I did such things I always used the 5
> field syntax.
>
> On 5/15/07, Shawn Badger <> wrote:
> >
> > Does this help?
> >
> >
> > http://en.wikipedia.org/wiki/Crontab
> >
> >
> >
> > On 5/15/07, Dazed_75 <> wrote:
> > > 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
> > >
> > ---------------------------------------------------
> > 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
>



--
"Courage is like love; it must have hope to nourish it."
-Napoleon Bonaparte
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss