LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   crontab doesnt works with all jobs. (http://www.linuxquestions.org/questions/linux-newbie-8/crontab-doesnt-works-with-all-jobs-178867/)

pxes351 05-07-2004 05:50 AM

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.

david_ross 05-07-2004 02:12 PM

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.

pxes351 05-10-2004 01:11 AM

ok i try this, many thanks!


All times are GMT -5. The time now is 04:54 AM.