Cronjob issue

Posted by CymraegWalesHosting, 11-16-2012, 11:25 PM
Hi all, Hopefully this is a simple fix. I have created a very simple cron sciption that has the following command: However when i execute this via a cron.. I get the simple message: /root/wireshark.sh: line 1: tethereal: command not found However when i run this when i'm logged in via SSH (root) it runs no problem. Any ideas?

Posted by zoid, 11-17-2012, 04:06 AM
Path issue I guess, try full paths.

Posted by syleishere, 11-17-2012, 05:36 AM
Add this to top of your crontab: PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root:. and make sure tethereal is maybe not spelled wrong, perhaps its "ethereal"

Răspunsul a fost util?

 Tipărire

V-ar mai putea interesa și

mySQL Caching

Posted by jweeb, 03-10-2010, 10:54 PMHi All, I am new to this. I would like to do a mySQL...

Reselling Host Search Questions...

Posted by go24, 09-04-2002, 12:08 AMIve been looking at numerous websites today and noticed that...

Having trouble blocking google spider

Posted by lhmx, 11-15-2012, 02:51 AMI'm having some trouble blocking google (and others) from...

How many daily signups?

Posted by Franki, 09-05-2002, 12:54 PMHello resellers. How many -in average- daily sign-ups do...

FTP Question - Limiting types of Access

Posted by webtender, 03-29-2008, 11:17 PMHello, Is it possible to setup ftp accounts that have...