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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cron jobs not able to access commands

Status
Not open for further replies.

siswjh

MIS
Dec 6, 2001
63
US
I have several cron jobs that have been running without fail for a year, now it seems like they are starting to error out with messages reading, unable to access mv or unable to access zip, this is even when the mv command is fully pathed in the script. The machine is an Ultra 2 running Kernel version: SunOS 5.6 Generic 105181-32 April 2002. It seems that if I am not mistaken this started about the time I rev'ed the kernel up, which I did in single user mode.

Can run the scripts from the command line with no problem.
Any help would be greatly appreciated.
Thanks
Jesse
 
Sounds like your paths in your profile should be checked and find out if all the system paths you set were not changed after you rev'd up your kernal. =================
Bad Company Music
=================
 
Check the permisions of the /usr/bin, & of the commands therein, have not changed.
Ged Jones

Top man
 
Hi,

I am agree that you have problem with PATH.
I think you are able to run commands different shell than "sh". Change your shell to "sh" and try to run commands again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top