crontab

Hi, Hugo,

03,23,43 * * * * /bin/cv.initd /cvdata/download/image/A filename IMGREQ FILE 0x10 1> /var/tcup.log 2> /var/tcup_error.log

the tmp/tcup.log show:

apcore03(43): more /var/log/tcup.log
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed
System is not configured properly, unable to proceed

at the same time, nothing in /var/tcup_error.log

the /bin/cv.initd is the C programe I try to submit files. if I run:

apcore03(47): /bin/cv.initd /cvdata/download/image/A filename IMGREQ FILE 0x10

in command line, It is great. the stuff after /bin/cv.initd is the submit format required by the C program.

Could you give me suggestions? Thanks a lot!

Yun

Don't run the command directly as a cron Job, you must:
create an script that "set -x",establish the logfile, load the environment variables, then in the sam script run the comand. Try without loging (in the same line as cvcommand) or loging 1>/path_to_logfile/logfile 2>&1 #without spaces