From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms-smtp-03-lbl.southeast.rr.com ([24.25.9.102] helo=ms-smtp-03-eri0.southeast.rr.com) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 1ADw8f-00052G-00 for ; Sun, 26 Oct 2003 20:25:45 -0500 Received: from quantum (rdu74-168-227.nc.rr.com [24.74.168.227]) by ms-smtp-03-eri0.southeast.rr.com (8.12.10/8.12.7) with ESMTP id h9R1PShg020232 for ; Sun, 26 Oct 2003 20:25:40 -0500 (EST) From: "Sina Bahram" To: Subject: RE: Help with date and redhat 9 Date: Sun, 26 Oct 2003 20:25:33 -0500 Organization: HOME Message-ID: <000201c39c29$3c699350$6401a8c0@quantum> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-reply-to: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: Symantec AntiVirus Scan Engine Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca X-Reply-To: List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Thanks so much, that's what I needed to know. I appreciate it. Take care, Sina No trees were destroyed in sending this message. However, a large number of electrons were terribly inconvenienced. -----Original Message----- From: speakup-admin@braille.uwo.ca [mailto:speakup-admin@braille.uwo.ca] On Behalf Of Chuck Hallenbeck Sent: Sunday, October 26, 2003 7:38 PM To: speakup@braille.uwo.ca Subject: RE: Help with date and redhat 9 Okay, here is how to do crontab... First, make sure your favorite editor is specified in an environment variable called "EDITOR" and also in one called "VISUAL". When you run crontab with the -e option it will invoke one or the other of those, I forget which! I use "ed" in mine, but you might prefer another editor. So now become root and do this: crontab -e Now you are your favorite editor, and you create a one line entry consisting of five time specifiers and one command, all on one line. The time specifiers are separated from each other by a space and might be an asterisk. They are as follows: specifier #1 is the minute, from 0 to 59. specifier #2 is the hour, from 0 to 23 specifier #3 is the day of the month, from 1 to 31 specifier #4 is the month, from 1 to 12 specifier #5 is the day of the week, and I forget if this is 0 to 6 or 1 to 7. So to execute a command say at half past seven every morning, you would make the line look like this: 30 7 * * * the-command-goes-here Be sure the 30 starts in column 1! So what you must do is decide what time each day you want your command to run, and make a line like the example. If 7:30 AM is not convenient, pick another time and use the specifiers to say when. It is a good idea to redirect output from your command to /dev/null, otherwise you get email to root! Also, you have to supply the full path to your command, since no path is in effect during the crontab execution. When you have done all that, just save your work and exit, and the rest is automatic. Hope this helps. Chuck -- The Moon is Waxing Crescent (3% of Full) Get my public key from website, http://www.mhonline.net/~chuckh _______________________________________________ Speakup mailing list Speakup@braille.uwo.ca http://speech.braille.uwo.ca/mailman/listinfo/speakup