delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/29/22:39:19

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 AT austin DOT rr DOT com>
To: cygwin AT cygwin DOT com
Subject: Crontab runs fine in cmd line not via CRON for expect scripts
MIME-Version: 1.0
X-Nabble-From: jmccartney1 AT austin DOT rr DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

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/

- Raw text -


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