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"

Kas see vastus oli kasulik?

 Prindi artikkel

Loe veel

Limit concurrent users in MySQL

Posted by ThaiZone, 01-15-2008, 02:49 AMI try to search and not found the solutions to limit...

I need help faster! - Looking again

Posted by johnpalm, 09-06-2002, 12:18 PMOver the past 6 months I had a number of reseller account...

Dataphorce update

Posted by AL-Benjamin, 09-27-2001, 12:58 PMHi there, this is really just an update to the...

Can some explain this in a simple way?

Posted by subhash, 02-21-2011, 07:52 AMHello Guys, Can some body explain what exactly is...

which companies use h-sphere?

Posted by salsabil, 08-16-2002, 05:47 AMHeya Could people give me which (good) hosting...