Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 12-16-2003, 12:42 AM   #1
Registered: May 2002
Posts: 401

Rep: Reputation: 30
Question problem with crontab

Hi !

I need to run the same program from panda antivirus, the file is pavcl / -aut

(which means scan / automatically)

I edit /etc/crontab an added the following line:

06 02 * * * /etc/panda/run

the file run contains the following:

#script to run antivirus
pavcl / -AUT

I also did /etc/init.d/crond restart

if I cut and paste /etc/panda/run and press enter it calls the script and runs pavacl / -AUT but from the crontab it doesnt work ,why ?

Old 12-16-2003, 01:09 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try using absolute path to the pavcl executable in the script file
Old 12-16-2003, 04:54 AM   #3
Registered: May 2002
Posts: 401

Original Poster
Rep: Reputation: 30
I changed it.
How can I check if crontab tryed to issue the command?



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crontab Problem smus Linux - Newbie 4 12-10-2005 08:52 AM
crontab problem provo1234 Linux - General 3 01-21-2005 11:20 AM
Problem with crontab PierrePau Linux - Software 3 06-28-2004 02:34 PM
crontab problem BlackRabbit Linux - General 9 06-17-2004 07:38 AM
crontab problem TomTheNewbie Slackware 1 07-09-2003 07:12 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration