Cronjob to notify me when it's time to take the train
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

CRONTRAIN (only works on OS X)



Configure crontab

  1. Edit the crontab to your liking
  2. Add the crontab rules to your crontab

Little help

To be safe, backup your current crontab in a file:

crontab -l > crontab.backup

then put back the current crontab and the new one to your crontab:

cat crontab crontab.backup > crontab.tmp
crontab < crontab.tmp
rm crontab.tmp

If the cronjob fails for some reasons, cron takes care of sending an email (type: mail in a terminal to read them).