Simulation
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0 device.
A. Answer: See the Explanation for complete Solution below.
Reveal model answer Close model answer
1. vi /var/schedule 30 17 * * * /sbin/dump -0u /dev/st0 /dev/hda7
2. crontab /var/schedule
3. service crond restart
We can add the cron schedule either by specifying the scripts path on /etc/crontab file or by creating on text file on crontab pattern. cron helps to schedule on recurring events. Pattern of cron is: Minute Hour Day of Month Month Day of Week Commands 0-59 0-23 1-31 1-12 0-7 where 0 and 7 mean Sunday.
Note * means every. To execute the command on every two minutes */2.






