X-Spam-Check-By: sourceware.org
Message-ID: <12399572.post@talk.nabble.com>
Date: Wed, 29 Aug 2007 19:38:59 -0700 (PDT)
From: John-Mc <jmccartney1@austin.rr.com>
To: cygwin@cygwin.com
Subject: Crontab runs fine in cmd line not via CRON for expect scripts
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Nabble-From: jmccartney1@austin.rr.com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


Hi All,

I'm new here so please bear with me. I have a server running Windows Server
2003 Std Edition w/ SP2 and for whatever reason I cannot get CRON to execute
my expect scripts. If I run them manually they run just fine. Another
co-worker has some perl scripts that kick off without any issues, can
someone tell me why Cygwin won't execute them. I'm including a copy of
crontab below, Thanks!

$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.2Y63xGCfwf installed on Wed Aug 29 13:58:48 2007)
# (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp
$)
#* * * * * /bin/date.exe >> /cygdrive/e/Downloads/out.txt
#* * * * * /bin/date.exe >> /home/Administrator/file.txt
0 * * * * /bin/perl.exe /home/Administrator/scripts/get-switchportnamesv2.pl
0 * * * * /bin/perl.exe /home/Administrator/scripts/regenswitchcfgs.pl
30 6 * * * /bin/perl.exe /home/Administrator/scripts/backupmrtg.pl
59 13 * * * /bin/expect.exe /home/Administrator/scripts/getCOREFWSMcfgs
59 13 * * * /home/Administrator/scripts/getASAcfgs
35 3 * * * /home/Administrator/scripts/getCOREcfgs
40 3 * * * /home/Administrator/scripts/getDISTcfgs
45 3 * * * /home/Administrator/scripts/getNCcfgs
50 3 * * * /home/Administrator/scripts/getPOEcfgs
55 3 * * * /home/Administrator/scripts/getVOIPcfgs
15 4 * * * /bin/perl.exe /home/Administrator/scripts/backup-rtr-sw-cfgs.pl
30 5 * * * /bin/perl.exe /home/Administrator/scripts/rtr-sw-cfg-2-dirs.pl

-- 
View this message in context: http://www.nabble.com/Crontab-runs-fine-in-cmd-line-not-via-CRON-for-expect-scripts-tf4351639.html#a12399572
Sent from the Cygwin Users mailing list archive at Nabble.com.


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

