[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: puzzling cron job!!
- From: "Rick L. Mantooth" <rickdman cyberramp net>
- To: Vineeta <vineeta vidya aptech ac in>
- Cc: redhat-list redhat com
- Subject: Re: puzzling cron job!!
- Date: Sat, 31 Oct 1998 10:22:50 -0600 (CST)
Vineeta,
On Sat, 31 Oct 1998, Vineeta wrote:
> I have the foll. entry in my crontab file for root:
> 0 19 9 10 5 /etc/xxx
> 1 19 9 10 5 /usr/bin/yyy
^ is the reason the command executed on Friday.(yesterday)
for Oct 9 I would have used:
0 19 9 10 * /etc/xxx
1 19 9 10 * /usr/bin/yyy
For every Friday in Oct:
0 19 * 10 5 /bin/whatever..
prompt% man 5 crontab
<clip>
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 0-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
</clip>
Rick
>
> This was the change i had made in the crontab file on 9th oct,1998.
> After that i did not reboot my linux box.
> Now,today when i came & checked my mail,i saw that the cron job was
> executed yesterday at 7pm.
> Between 9th oct & today i rebooted my m/c on 28th oct,1998.
> I am puzzled as to how cron works.
> Acc. to the entry in crontab file the job was supposed to be executed
> on 9/10/98 at 19:00 & 19:01.
> then,why did it execute yesterday???
> It did not execute on 9th oct.
>
> Any idea what's going on??
>
> Regards,
> Vineeta
>
>
> --
> PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
> http://www.redhat.com http://archive.redhat.com
> To unsubscribe: mail redhat-list-request redhat com with
> "unsubscribe" as the Subject.
>
>
--
Rick L. Mantooth rickdman cyberramp net
http://www.cyberramp.net/~rickdman
I Support Co-Ed Naked Shell Scripting
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]