Managing cron and similar E-Mails from headless systems

Chris Green cl at isbd.net
Fri Feb 17 16:12:22 UTC 2017


On Fri, Feb 17, 2017 at 05:02:47PM +0100, Nils Kassube wrote:
> Chris Green wrote:
> > I'd prefer to do it once though (in E-Mail or other configuration)
> > rather than every time I create a cron job.
> 
> 20 1 * * * rsync ..... || echo hostname
> 
> should do the trick - without an extra script but as an extension to 
> your command.
> 
Now that's pretty neat, thanks.

-- 
Chris Green



More information about the ubuntu-users mailing list