delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/04/17:06:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <4B8F50430DC6D611875E00508BE14DF2507D89@pasmail.office.tmcs>
From: Smithesh Ramachandran <smithesh AT ticketmaster DOT com>
To: "'Harig, Mark A.'" <maharig AT idirect DOT net>, cygwin AT cygwin DOT com
Subject: RE: cygwin crontab
Date: Fri, 4 Oct 2002 14:06:09 -0700
MIME-Version: 1.0

Hi,
I did the following to start the server.
cygrunsrv -S cron

And I see it running:
admin AT TMLA-SRAMACHAND /tmp
$ ps -ef|grep cron
  SYSTEM    2084    2068   ?  13:49:45 /usr/sbin/cron

Also tried checking the below date example in crontab. Still not running.

Stopped and started again, but still not working. Hoping for your help.
The cron version I'm running is 3.0.1-7. 

Thank you,
Smithesh.




-----Original Message-----
From: Harig, Mark A. [mailto:maharig AT idirect DOT net]
Sent: Friday, October 04, 2002 12:42 PM
To: Smithesh Ramachandran; cygwin AT cygwin DOT com
Subject: RE: cygwin crontab


After installing the service (using the '-I' option), you need to start
the service using the '-S' option.

Debug one problem at a time.  Instead of trying to get your perl script
to work via 'cron', try to get the 'date' command to work, for example:

   * * * * * /usr/bin/date >> /tmp/date.txt

Once you have that working, you can work on the perl script problem.

> -----Original Message-----
> From: Smithesh Ramachandran [mailto:smithesh AT ticketmaster DOT com]
> Sent: Friday, October 04, 2002 2:00 PM
> To: 'cygwin AT cygwin DOT com'
> Subject: cygwin crontab
> 
> 
> Hi Corinna,
> I'm having trouble with cygwin crontab. Basically, I'm trying to run a
> cygwin perl script that does some scp from windows using 
> windows putty-scp
> to linux and solaris boxes. I've tested the cygwin perl script with
> putty-scp and it works well, but not with cron.
> 
> I'm not sure if the following command will start the cron 
> server on cygwin.
> But I executed this.
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> 
> I got the above info from /usr/docs/Cygwin/cron.README
> 
> I'm not getting any basic cron stuff working also. Please help.
> Thanks,
> Smithesh.
> 
> 
> 
> 
> --
> 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/
> 
> 

--
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/

- Raw text -


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