RedHat RH202 Question Answer
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0 device.
Answer and Explanation:
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:
MinuteHourDay of MonthMonth Day of WeekCommands
0-590-231-311-120-7 where 0 and 7 means Sunday.
Note * means every. To execute the command on every two minutes */2.