Code:
sudo gedit /etc/anacrontab
2) Add line to the bottom of the txt document - for more info see http://linuxgazette.net/104/odonovan.html
Code:
1 1 backup rsync -ravz /home /media/
where the fields mean:
1
- the period in days indicating how often this command should be executed
1
- the delay in minutes after Anacron begins before it should execute this command
- backup
- a unique identifier for this job so Anacron can keep track of when it was last executed
rsync...
- the command to execute
No comments:
Post a Comment