Quote:
|
Originally Posted by KingPooky
Thank you for your help. I'm 100% sure the path is correct, but it says 'no such file or directory' when I run the file. When I type the exact same command at the command line, it runs perfectly fine. I'm stumped.
|
You are not giving details so it's tough to help you, but typically this just means the program is not in your path. For example, 'service httpd restart' might work on the commandline because /sbin is in your path, but in a cron job or rc.local say, you'd need to use '/sbin/service httpd restart'.
hth
charles