- Timestamp:
- Mar 26, 2010, 6:21:51 AM (13 years ago)
- Location:
- branches/locker-dev/locker/bin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/bin/crontab
r1520 r1521 9 9 # (can be useful for debugging) 10 10 # You can always redirect the output of individual commands to /dev/null 11 MAILTO=" SCRIPTS_USER@mit.edu"11 MAILTO="ATHENA_USER@mit.edu" 12 12 # If you do not want to receive any mail from cron, use the line below instead 13 13 #MAILTO="" … … 22 22 # | | | | | 23 23 # | | | | ----- day of week (0 - 6) (Sunday=0) 24 # | | 24 # | | | ------- month (1 - 12) 25 25 # | | --------- day of month (1 - 31) 26 26 # | ----------- hour (0 - 23) -
branches/locker-dev/locker/bin/signup-cron
r1087 r1521 10 10 fs sa /mit/$lname/cron_scripts daemon.scripts write 11 11 DATE=`date` 12 sed '/SCRIPTS_USER/s//'"$lname"'/g' /mit/scripts/deploy/crontab | sed '/SCRIPTS_DATE/s//'"$DATE"'/g' > /mit/$lname/cron_scripts/crontab 12 signupuser=`echo "$principal" | sed 's/@.*$//'` 13 sed '/SCRIPTS_USER/s//'"$lname"'/g' /mit/scripts/bin$scriptsdev/crontab | sed '/ATHENA_USER/s//'"$signupuser"'/g' | sed '/SCRIPTS_DATE/s//'"$DATE"'/g' > /mit/$lname/cron_scripts/crontab 14 echo "By default, output from cron jobs for the $lname locker will be mailed" 15 echo "to $signupuser@mit.edu. You should edit /mit/$lname/cron_scripts/crontab" 16 echo "to change this and set up your cron jobs." 13 17 success "the cron script service" "The directory /mit/$lname/cron_scripts has been created." 14 18 else
Note: See TracChangeset
for help on using the changeset viewer.