Re: Backing up mail, cron

2000-06-06 Thread Gary Johnson
On Tue, Jun 06, 2000 at 09:06:24PM -0700, [EMAIL PROTECTED] wrote: > Then the cron entry: > 1 0 1 1-12 * $HOME/mailbackup > > do i need to put in /home/user/mailbackup or does $HOME fulfill bash > within cron recipe? According to the crontab(5) man page (Red Hat Linux 5.1), Several en

Backing up mail, cron

2000-06-06 Thread jgh
Well I did it this way. Made a bash script, and ran it past cron #!/bin/bash mv /home/deklown/Msgs/backup-inbox /home/deklown/Msgs/backup-`date +%Y-%m` mv /home/deklown/Msgs/sent /home/deklown/Msgs/sent-`date +%Y-%m` gzip -9 /home/deklown/Msgs/sent-`date +%Y-%m` gzip -9 /home/deklown/Msgs/backup