SUMMARY: Crontab entry

From: Chris Bryant <cbryant_at_dollar.com>
Date: Mon, 22 Jul 2002 12:39:46 -0500

Thanks to Jeffrey Hummel, Norbert Fritsche, Theodore A. Neuville for their
responses. It seems Jeffrey Hummel hit the nail on the head.

        Jeffrey Hummel wrote:

        Replace the 1-12 with an asterisk. That will make it run every
month on
the first through 7th days of the month.

Thanks again for the responses.

Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213


-----Original Message-----
From: Chris Bryant [mailto:cbryant_at_dollar.com]
Sent: Monday, July 22, 2002 11:07 AM
To: Tru64 Unix (E-mail)
Subject: Crontab entry


Admins,

        We the following crontab entry

        30 2 1-7 1-12 6 /usr/local/bin/viperrefresh.ksh

        supposedly I have this to run every month on the first saturday of
the month. Am I reading this wrong? Here is what the man page for crontab
says:

           3. The following example writes the contents of
happyholidays.txt to all
       users logged in at 4:00 p.m. each Friday in December and each day
       between December 10 and December 31 inclusive:
            0 16 10-31 12 5 /usr/sbin/wall /var/tmp/happyholidays.txt

        Now it looks like according to the man page that I have
/usr/local/bin/viperrefresh.ksh set to run every saturday and each day
between 1-7, is this correct?

TIA,

Chris Bryant
Unix Administrator
Dollar Rent A Car
(918) 669-3213
Received on Mon Jul 22 2002 - 17:40:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT