Update hangover.sh

This commit is contained in:
Thomas Hood 2015-12-03 21:37:52 +00:00
parent ac4d41115b
commit 0ff46930d9

View File

@ -14,7 +14,7 @@ chmod +x ~/hangover.sh
# Checks to see if job is in crontab already and if not updates cronto run the script only on weekdays @ 8:45am
if ! crontab -u $USER -l | grep hangover.sh then
echo "45 8 * * 1-5 $PATH/hangover.sh" >> newcronjob
crontab -e newcronjob
crontab newcronjob
fi
# Phone numbers