This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Usage Of Cron and AT commands


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]