crontab doesnt works with all jobs.
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.
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.
ok i try this, many thanks!
|All times are GMT -5. The time now is 02:19 PM.|