Help with cron job for backups
I'd like to shut down my mail server every morning at 2:00AM so I can run MAILBFR to backup to an external fw drive and then start the mail server again. *deep breath*
My problem is, how? I've read the Command Line.pdf but the section on cron isn't helpful. It seems that cron runs commands at a specified time but I have no way of determining exactly when to restart the mail server once mailbfr is done backing up. Ideally, I'd like to have a way to fire off each command as soon as the last was done. Kind of like an MSDOS batch file.
Could someone help me out with a step by step way of doing this for my server?
My problem is, how? I've read the Command Line.pdf but the section on cron isn't helpful. It seems that cron runs commands at a specified time but I have no way of determining exactly when to restart the mail server once mailbfr is done backing up. Ideally, I'd like to have a way to fire off each command as soon as the last was done. Kind of like an MSDOS batch file.
Could someone help me out with a step by step way of doing this for my server?
Dual G4/G5 XServes - Dual G5 Powermac, Mac OS X (10.4.6)