Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

running a .com object from cron

Status
Not open for further replies.

golyg

Programmer
Jul 22, 2002
319
US
I have cron job that attempts to run a com object and redirects the output to a log file.
When I list a directory's contents I see the log file and the .com file.

But when I run this cron job I get a "file does not exist" error...

any ideas?

thanks
 
how do you execute the .com? i mean in the command line.
what user has the crontab? which user is allowed to issue the .com command?

- may be you -via command line- issue the .com command with root, but the cron with another user and this user has no privilegies.

- or you have a env variable in you .profile that is not loaded with the cron job.

- or the path is not specifie in the cron job and that's why the cron can not find the command to execute.
 
it appears the editor was changed and now its all good
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top