Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <4B8F50430DC6D611875E00508BE14DF2507D8B@pasmail.office.tmcs> From: Smithesh Ramachandran To: "'Harig, Mark A.'" , Smithesh Ramachandran , cygwin AT cygwin DOT com Subject: RE: cygwin crontab Date: Fri, 4 Oct 2002 14:40:22 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Thanks Much. The date stuff did work. Now need to work with the scp stuff. Thanks again, Smithesh. -----Original Message----- From: Harig, Mark A. [mailto:maharig AT idirect DOT net] Sent: Friday, October 04, 2002 2:37 PM To: Smithesh Ramachandran; cygwin AT cygwin DOT com Subject: RE: cygwin crontab One other thing might also be necessary... After you have set the directories' permissions, shut down the cron service and restart it. $ cygrunsrv -E cron $ cygrunsrv -S cron If you want to be really sure, then shut down the service, uninstall it, reinstall it, and restart it. > -----Original Message----- > From: Harig, Mark A. > Sent: Friday, October 04, 2002 5:34 PM > To: Smithesh Ramachandran; cygwin AT cygwin DOT com > Subject: RE: cygwin crontab > > > It's also important to get the permissions of the /var/cron/ and > /var/cron/tabs/ > directories set correctly. As the file /usr/doc/Cygwin/cron.README > says, there is a 'postinstall' script that should have set these for > you, but they may have been changed to incorrect settings: > > $ chmod 1777 /var/cron > $ chmod 1777 /var/cron/tabs > > > -----Original Message----- > > From: Smithesh Ramachandran [mailto:smithesh AT ticketmaster DOT com] > > Sent: Friday, October 04, 2002 5:06 PM > > To: Harig, Mark A.; cygwin AT cygwin DOT com > > Subject: RE: cygwin crontab > > > > > > 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/ > > -- 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/