cron
Bob Chiodini
rchiodin at bellsouth.net
Mon May 9 14:28:16 UTC 2005
On Mon, 2005-05-09 at 16:05 +0200, roland brouwers wrote:
> Hi all,
>
> I scheduled the backup and entered the following in the crontab:
> 35 19 * * * /usr/bin/backup.cron >>/catlogbu
> The file backup.cron contains
> date
> cd /home
> find . -mount -print |cpio -oBc >/dev/st0 && echo "backup
> succesfull"; date ; mt -f /dev/st0 eject
>
> Normally I should get an email telling me something about this backup,
> but I do not.
>
> I would like to send an email or message to some user telling about the
> result of the backup.
> How can I do this?
>
>
> Roland Brouwers
> Email roland at cat.be
>
>
>
>
I think the redirection to /catlogbu stops the email, since there is
nothing output on stdout. I would expect an email should there be any
errors.
Bob...
More information about the users
mailing list