Email on reboot

Adam Funk a24061 at ducksburg.com
Tue Aug 14 20:41:27 UTC 2007


On 2007-08-14, Brian Fahrlander wrote:

> Adam Funk wrote:
>
>> Put a line like this in your crontab:
>> 
>> @reboot   dmesg | mail -s 'Reboot!'  bart at example.com
>> 
>> This takes advantage of the Debian extensions to the crontab format.
>
>      Ooh...cool.  Is this part of Upstart, of which I've heard a lot? 
> I've been waiting to learn more about that; maybe now's a good time to 
> search for it.

I assume it's built into the Debian cron package.  I discovered it by
accident in the `man 5 crontab` page not long after I started using
Debian (2002, I think).





More information about the ubuntu-users mailing list