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"

War diese Antwort hilfreich?

 Artikel drucken

Lesen Sie auch

This guy is running botnet on me....

Posted by Shazz, 08-28-2008, 01:56 AMI have tried everything, hosts that say there secure and can...

Need PHP5 Developer for open source web game project

Posted by openwars, 01-16-2008, 04:54 PMHello hxxp://sf.net/projects/modulargaming is our...

Netacore Support Links Broken?

Posted by kjedwards, 09-05-2002, 04:19 AMHi Can anyone tell me how to access Netacore support...

When blog works forums stops working and viceversa

Posted by sash_007, 03-10-2010, 08:47 PMHello friends, I am having a weird problem my problem is...

Editting the default web page using SSH

Posted by MrDGOrman, 03-09-2010, 09:44 AMThis might be in the wrong section - if so, ma bad....