| OLD | NEW |
| (Empty) |
| 1 # Chromium crontab input file for restarting build slaves on reboot. | |
| 2 # Feed this to crontab as follows: | |
| 3 # | |
| 4 # $ crontab -u $USER crontab.in | |
| 5 # | |
| 6 # Note that it's a good idea to specify the -u option when using | |
| 7 # a role account, because crontab can get confused by su. | |
| 8 # | |
| 9 # Crontab will run the command with a hermetic environment with | |
| 10 # $SHELL, $LOGNAME (also $USER if necessary) and $HOME set from | |
| 11 # /etc/passwd, and $PATH set to "/usr/bin:/bin", so there's no | |
| 12 # need to set environment variables. | |
| 13 # | |
| 14 # $MAILTO is used explicitly by cron for failure notification. | |
| 15 | |
| 16 MAILTO=chrome-build-alerts@google.com | |
| 17 | |
| 18 @reboot cd $HOME/b/slave && make start | |
| OLD | NEW |