Solved

cron error 127

Posted on 2011-09-08
2
378 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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

912 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now