Crontab runs fine in cmd line not via CRON for expect scripts

John-Mc jmccartney1@austin.rr.com
Thu Aug 30 03:37:00 GMT 2007


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/



More information about the Cygwin mailing list