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"

Bu mövzu kifayət qədər köməkçi oldu mu?

 Çap

Digər Başlıqlar

SPAM died me

Posted by Tiva, 03-19-2007, 05:43 AMhi, my support and sales mailbox almost get full of spam and...

PERM_FAILURE: SMTP Error (state 14)

Posted by Fahd, 03-29-2008, 05:42 PMMy mailserver has stopped accepting mail from all non-local...

Script PHP to check links automatically - backlink checker

Posted by JaneP, 10-22-2012, 12:08 PMHello forum Sometimes it is necessary to check every time...

Scheduling Software

Posted by raulgonzalez, 01-15-2008, 07:30 PMHello, Does anyone know of an opensource software...

Phpmyadmin and Webmail access problem from cpanel

Posted by Doctor_Web, 09-07-2007, 01:02 PMHello, we have a important problem with our cPanel...