Solved

cron error 127

Posted on 2011-09-08
2
377 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
Comment Utility
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
Comment Utility
missing path
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Eigrp versus OSPF in a ring topology 3 42
Device same like our heart 12 43
Firewall port opening 2 17
Linux as a middle box 7 9
This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Let’s list some of the technologies that enable smooth teleworking. 
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

771 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

10 Experts available now in Live!

Get 1:1 Help Now