From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27428 invoked by alias); 6 Jan 2002 01:53:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 27394 invoked from network); 6 Jan 2002 01:53:35 -0000 Received: from unknown (HELO loreley.haase.dynu.com) (145.254.136.161) by sources.redhat.com with SMTP; 6 Jan 2002 01:53:35 -0000 Received: from haase.dynu.com ([192.168.1.1] helo=LORELEY) by loreley.haase.dynu.com with esmtp (Exim 3.33 #4) id 16N2Y2-0000A1-00; Sun, 06 Jan 2002 02:56:31 +0100 Date: Sat, 05 Jan 2002 17:53:00 -0000 From: "Gerrit P. Haase" X-Mailer: The Bat! (v1.53t) Business Reply-To: cygwin@cygwin.com Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <98122382957.20020106025624@familiehaase.de> To: "Jeff Lu" CC: cygwin@cygwin.com Subject: Re: How to set up crontab file in cygwin? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00218.txt.bz2 Hallo Jeff, Am 2002-01-06 um 00:26 schriebst du: > This really helps. Are any commands that I can use in the crontab file > such as telling it to run a particular script on certain of the week? > Here's what I want to do: > I want to run pg_dump daily. And I have 7 scripts namely > mon, tue, wed, thu, fri, sat & sun > I want it to execute the corresponding script for day > For example today is Saturday, the cron with execute the script sat. > Is there some documentation with all the commands I can use? As I stated earlier, from $ man 5 crontab: 5 4 * * sun echo "run at 5 after 4 every sunday" And please keep the conversation on list so other users may learn something too;) Gerrit -- =^..^= mailto:gp@familiehaase.de -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/