X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
Subject: RE: Usage Of Cron and AT commands
Date: Fri, 18 Aug 2006 12:24:20 +0100
Message-ID: <00ab01c6c2b8$da0bb850$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <OFD23114AC.CB5DB72D-ON652571CE.003C57B4-652571CE.003C8ACC@tcs.com>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 18 August 2006 12:01, sujit.menon@tcs.com wrote:

>   Hi CygWinners,
>   I would like to know the syntax of crontab, cron and at commands for
>   its use in task scheduling.

"man cron"
"man crontab"

'at' is a windows command using the windows task scheduler.  It's more
straightforward to use cron with cygwin.

 
>   Also, can we do a Cron or AT job using Cygwin installation?

  Yes.  Cron is preferable in this situation to at, as mentioned above.

>   If yes, please tell me the procedure...  How do we allow permission's
>   for the cron job. What file needs to modified to add the user id.

Simple:

  1.  Read the docs.  /usr/share/doc/cron has the generic cron documentation,
even more importantly /usr/share/doc/Cygwin/cron.README has the cygwin
specific stuff.

  2.  Use the supplied script /bin/cron-config to set it up correctly.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

