Define cron jobs in Ubuntu
Define cron jobs in Ubuntu
Dear all, I have to take backup of my databases...i want to set a cron job for it...cron job will take backup daily and put it in root's home directory..another cron job will run 30mins after this backup job and take the backups from root's home directory and will put it to my backup server using scp command...i have-key based authentication among my servers.....Waiting for help.....
Regards
Abdulrehman
Abdulrehman
1. write a script to do the backup
2. write a script to do the scp (you can combine this with the first script)
3. man 5 crontab
4. crontab -e
5. there is no step 5.
2. write a script to do the scp (you can combine this with the first script)
3. man 5 crontab
4. crontab -e
5. there is no step 5.
Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?
-
- Site Admin
- Posts: 5132
- Joined: Fri May 02, 2003 10:24 am
- Location: Karachi
- Contact:
Re:
Farrukh Ahmed