Crontab

From ConShell
Jump to navigation Jump to search

Some tips for crontab

Here's a crontab entry to notify via e-mail when a system reboots

@reboot echo "System just rebooted!" | mail -s "Reboot message from $(hostname)" user@example.com