Unisar 1.24.1867 Sander User Manual


 
Edit the cron table
The first method is to edit the cron tables, using the crontab tool. For example, if you
want to run a daily update, run the following as root:
# crontab -e
Then add the next line:
00 02 * * * /opt/BitDefender-scanner/bin/bdscan --update
All you have to do now is to signal the cron daemon to reload the crontables. Run the
next command and look for the process-id of crond, located in the second column.
# ps aux | grep crond
With the process-id (PID) in mind, issue the following command to signal the crond
daemon. Replace PID with the corresponding process-id value.
# kill -HUP PID
This way, you will run the update every night at 2:00 AM.
Use cron.* scheduling facility
Depending on you Linuxdistribution, there could be anothermethod for regular updates.
Most of the major distributions use cron to run some scripts located in several
directories, on a hourly, daily, weekly and monthly basis. Although not very accurate,
this method provides a very simple way to add cron new job or to remove it.
First, you should look for several directories, such as /etc/cron.hourly,
/etc/cron.daily, /etc/cron.weekly and /etc/cron.monthly. For this example
you could use the cron.daily or even cron.hourly directories.
Create the following file, name it bdscan-update and place it in the selected directory.
Do not forget to change the INSTALL_PATH according to your installation, if you have
not installed under default location.
74
Updates
Using
BitDefender
11