delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/18/07:24:36

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <OFD23114AC.CB5DB72D-ON652571CE.003C57B4-652571CE.003C8ACC@tcs.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 18 August 2006 12:01, sujit DOT menon AT tcs DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019