From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris Bryant Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Crontab entry Date: Mon, 22 Jul 2002 12:39:46 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1027359594 14727 127.0.0.1 (22 Jul 2002 17:39:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Jul 2002 17:39:54 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17WhA0-0003pP-00 for ; Mon, 22 Jul 2002 19:39:53 +0200 Original-Received: (qmail 4043 invoked by uid 5); 22 Jul 2002 17:39:58 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 4035 invoked from network); 22 Jul 2002 17:39:57 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 22 Jul 2002 17:39:57 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZN00BRAVQKFH@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 13:39:57 -0400 (EDT) Original-Received: from [208.2.126.4] (mail.dollar.com [208.2.126.4]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0GZN00B4KVPY08@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 22 Jul 2002 13:39:35 -0400 (EDT) Original-Received: from dol-exch.pentastar.com by [208.2.126.4] via smtpd (for emroute1.cind.ornl.gov [134.167.3.119]) with SMTP; Mon, 22 Jul 2002 17:39:34 +0000 (UT) Original-Received: by dol-exch.pentastar.com with Internet Mail Service (5.5.2653.19) id <3XQ7T99B>; Mon, 22 Jul 2002 12:39:10 -0500 Original-To: "Tru64 Unix \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1047 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1047 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@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