Last change
on this file since 127 was
127,
checked in by jbarnold, 18 years ago
|
old copies of locker software
|
-
Property svn:executable set to
*
|
File size:
628 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | attach scripts 2>/dev/null |
---|
4 | . /mit/scripts/bin$scriptsdev/signup-minimal |
---|
5 | |
---|
6 | if [ ! -d "/mit/$lname/cron_scripts/" ]; then |
---|
7 | mkdir 2>/dev/null /mit/$lname/cron_scripts |
---|
8 | fs sa /mit/$lname/cron_scripts system:anyuser l |
---|
9 | fs sa /mit/$lname/cron_scripts daemon.scripts write |
---|
10 | DATE=`date` |
---|
11 | sed '/SCRIPTS_USER/s//'"$lname"'/g' /mit/scripts/deploy/crontab | sed '/SCRIPTS_DATE/s//'"$DATE"'/g' > /mit/$lname/cron_scripts/crontab |
---|
12 | success "the cron script service" "The directory /mit/$lname/cron_scripts has been created." |
---|
13 | else |
---|
14 | success "the cron script service" "The directory /mit/$lname/cron_scripts already exists." |
---|
15 | fi |
---|
Note: See
TracBrowser
for help on using the repository browser.