The phantom command will run your login paragraph. Is it setup to allow this
process to go through? There should be something in the _PH_ file/folder for
when the cron fired off.

hth
Colin

-----Original Message-----
From: Charles_Shaffer 
Sent: June 28, 2012 10:19 AM
To: U2-Users@listserver.u2ug.org
Subject: [U2] Problem running script from crontab

Having a problem running a Unix script from the crontab.  We use Redhat and
Unidata 7.1

This script runs fine from command line

UDTHOME=/NTN/CMI
export UDTHOME
UDTBIN=/usr/ud/bin
export UDTBIN
CMIHOME=/NTN/CMI/TRANS4M
export CMIHOME
PATH=$PATH:@UDTBIN
export PATH
cd /NTN/DATA/PRODUCTION
$UDTBIN/udt PHANTOM REQIMPORT_MA

But when it is run by the cron it doesn't seem to run.  We do a lot of this
sort of thing here, but I have never tried running a script that used a
PHANTOM command like this.  Does anyone see anything obvious here that would
not let this run from cron?

Charles Shaffer


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to