LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-07-2004, 06:50 AM   #1
pxes351
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Rep: Reputation: 0
crontab doesnt works with all jobs.


Hello List!
I really appreciate you guys if you want to help me out here.
I have tried to make a crontab job that do 2 things.
1. execute cron-apt so my debian is up to date.
2. execute nessus-update-plugins to keep my nessus (vulnerbility scanner) up to date

I have gotten cron-apt to work but nessus-update-plugins doesnt work.

Here is my crontabs job if i list it with crontab -e

0 23 * * 1 nessus-update-plugins
0 23 * * 1 cron-apt

if i execute nessus-update-plugins manually it works just fine.
 
Old 05-07-2004, 03:12 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Try creating a log file to see if you get any errors:
0 23 * * 1 nessus-update-plugins > /tmp/nup.log 2>&1

You may just need to supply the full path to the program.
 
Old 05-10-2004, 02:11 AM   #3
pxes351
LQ Newbie
 
Registered: Sep 2003
Posts: 17

Original Poster
Rep: Reputation: 0
ok i try this, many 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
How can I tell if crontab jobs are axecuting ? juanb Linux - General 4 01-27-2011 10:08 AM
ndiswrapper works but doesnt? AKA-tex Linux - Wireless Networking 7 08-21-2005 06:44 PM
Crontab -e doesnt run my script ! c0nsur Linux - General 4 08-04-2005 12:21 AM
crontab jobs aren't running mdm_linux Linux - General 4 05-30-2005 01:27 PM
Extra cron jobs not in "crontab -e"? inspleak Linux - General 2 07-21-2004 10:47 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration