Antwort: Re: crontab question

From: Volker Gruenewald (Volker.Gruenewald@LINDE-MH.DE)
Date: Mon May 12 2003 - 10:15:31 EDT


hi,

the crontab file format

minute 0 through 59
hour 0 through 23
day_of_month 1 through 31
month 1 through 12
weekday 0 through 6 for Sunday through Saturday
command a shell command

for example, your Entry

 0 18 4 5 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1

would run command on May 5th, as well as every sunday. To specify by date
only, the weekday field should contain an * .
5/11 was a sunday, as expected.

regards

---------------------------------------------------
Volker Grünewald
IT Administration
Linde AG, material handling
Aschaffenburg / Germany
volker.gruenewald@linde-mh.de
www.linde.com
---------------------------------------------------

|---------+--------------------------->
| | "Renison, Rick" |
| | <rick.renison@ED|
| | S.COM> |
| | Gesendet von: |
| | IBM AIX |
| | Discussion List |
| | <aix-l@Princeton|
| | .EDU> |
| | |
| | |
| | 05/12/03 03:54 |
| | PM |
| | Bitte antworten |
| | an IBM AIX |
| | Discussion List |
| | |
|---------+--------------------------->
>-----------------------------------------------------------------------------------------------------------------------------|
  | |
  | An: aix-l@Princeton.EDU |
  | Kopie: |
  | Thema: Re: crontab question |
>-----------------------------------------------------------------------------------------------------------------------------|

You didn't have an entry for 4/27
eg. 0 18 27 4 * /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1

> -----Original Message-----
> From: Lynn Lacaillade [mailto:LynnL@BENJERRY.COM]
> Sent: May 12, 2003 9:28 AM
> To: aix-l@Princeton.EDU
> Subject: crontab question
>
>
> I added the jobs below to my crontab on 4/23. The job didn't
> run on 4/27 as
> expected and successfully ran on 5/4 as it should have.
>
> THE PROBLEM: It ran at 18:00 on 5/11. The job does not call
> itself. It
> totally relies on cron to run it when needed.
>
> Has anyone seen this before, or is there a problem with my
> cron entries?
>
>
> 0 18 4 5 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 1 6 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 29 6 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 3 8 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 31 8 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 28 9 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 2 11 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
> 0 18 30 11 0 /usr/local/dba/ksh/SbsMonthEnd.ksh BOPA 1
>
>
> Lynn Lacaillade
> Unix Systems Administrator
> Exchange Administrator
> Ben & Jerry's Homemade, Inc.
> 802-846-1543 x7860
> mailto:lynnl@benjerry.com
>

This e-mail may contain confidential and/or privileged information.
If you are not the intended recipient (or have received this e-mail
in error) please notify the sender immediately and destroy this e-mail.
Any unauthorised copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Linde Material Handling.

Since January 2002 we use the e-mail domain linde-mh.de instead
of linde-fh.de.

This mail has been swept for the presence of computerviruses.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:49 EDT