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: <293580-2200210121222042368@M2W045.mail2web.com> X-Priority: 3 Reply-To: lhall AT rfk DOT com X-Originating-IP: 209.113.174.244 From: "lhall AT pop DOT ma DOT ultranet DOT com" To: smithesh AT ticketmaster DOT com, maharig AT idirect DOT net, cygwin AT cygwin DOT com Subject: RE: cygwin cron Date: Mon, 21 Oct 2002 18:20:42 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 X-OriginalArrivalTime: 21 Oct 2002 22:20:42.0330 (UTC) FILETIME=[17CAB3A0:01C27950] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g9LMKo716401 I'm afraid that what you've provided only tells us what you're doing and how you're doing it. Unfortunately, we don't know anything else about your system or your setup. Make sure you've reviewed the email archives for cron issues and resolutions and that you've reviewed the cron and login READMEs (at least) as well as the user guide (particularly the stuff on permissions if you're running NT/W2K/XP). Oh, and a review of the FAQ may be worthwhile as well. You never know what tid-bits are lurking in the answers to even seemingly unrelated questions. If you don't find something useful in all that which resolves your problem, please provide the output of cygcheck -s -r -v as an attachment as well as the steps you took to configure cron to the list. Someone may be able to spot your problem given that. Good luck, Larry Original Message: ----------------- From: Smithesh Ramachandran smithesh AT ticketmaster DOT com Date: Mon, 21 Oct 2002 13:53:12 -0700 To: maharig AT idirect DOT net, cygwin AT cygwin DOT com Subject: cygwin cron Hi , I'm trying to scp (without pass phrases) using dsa on cygwin cron. scp works fine, but not within cron. this is what I'm doing - crontab -e 00 * * * * /usr/bin/perl /home/admin/perl/test.pl >> /tmp/test.txt and this is what test.pl has: #!/usr/bin/perl system('scp -P 9989 -oProtocol=2 -r /cygdrive/b/IN smithesh AT 172 DOT 26 DOT 20 DOT 34:tmp/.'); When I run test.pl by itself on cygwin command line, it works (meaning it does the scp), but not within cron. Also tried putting scp stmt itself within cron and didn't work either. I also tried removing, installing, stopping and starting cron using cygrunsrv. cron in general works, but is not doing the above scp stuff. I'm not sure if I'm doing anything wrong.. 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/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- 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/