28 Jun 2012 19:32
Re: [U2] Problem running script from crontab
Jeff Schasny <jschasny <at> gmail.com>
2012-06-28 17:32:06 GMT
2012-06-28 17:32:06 GMT
Not sure about Unidata, but our Universe scripts all have the string to be executed by the uv command in double quotes. You might try: $UDTBIN/udt "PHANTOM REQIMPORT_MA" Charles_Shaffer <at> ntn-bower.com wrote: > 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: <at> 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 > Senior Analyst > NTN-Bower Corporation > _______________________________________________ > U2-Users mailing list > U2-Users <at> listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > > -- -- ------------------------------------------------------------------------ Jeff Schasny - Denver, Co, USA jschasny at gmail dot com ------------------------------------------------------------------------ _______________________________________________ U2-Users mailing list U2-Users <at> listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RSS Feed