Solved

cron error 127

Posted on 2011-09-08
2
381 Views
Last Modified: 2013-12-23
my cron is giving me erro 127 while I try to run a script.

the system is HP-UX, the script is a simple make_tape_recovery command that Im able to run from shell.

anyone know if I have to setup something to make cron run this?

thanks
0
Comment
Question by:mistrider
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 36506677
Error 127 means "Command not found"

You'll have to specify the full path to your command, like

* * * * * /path/to/make_tape_recovery ... ...

Please remember that cron doesn't set any PATH except for /bin and /usr/bin!
So if there are commands inside your script you should also call them by full path.

wmp
0
 

Author Closing Comment

by:mistrider
ID: 36512422
missing path
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question