LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-16-2003, 01:42 AM   #1
juanb
Member
 
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 ?

thanks
 
Old 12-16-2003, 02:09 AM   #2
Demonbane
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, 05:54 AM   #3
juanb
Member
 
Registered: May 2002
Posts: 401

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

thanks
 
  


Reply


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 09:52 AM
crontab problem provo1234 Linux - General 3 01-21-2005 12:20 PM
Problem with crontab PierrePau Linux - Software 3 06-28-2004 03:34 PM
crontab problem BlackRabbit Linux - General 9 06-17-2004 08:38 AM
crontab problem TomTheNewbie Slackware 1 07-09-2003 08:12 AM


All times are GMT -5. The time now is 02:58 AM.

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