source:
server/common/oursrc/accountadm/cronload
@
782
| Last change on this file since 782 was 765, checked in by presbrey, 17 years ago | |
|---|---|
|
|
| File size: 140 bytes | |
| Rev | Line | |
|---|---|---|
| [765] | 1 | #!/bin/sh |
| 2 | ||
| 3 | if [ -n "$2" ]; then | |
| 4 | cd "$2" | |
| 5 | fi | |
| 6 | ||
| 7 | /bin/cat "$1" | /usr/bin/crontab - | |
| 8 | ||
| 9 | echo "New crontab for $USER:" | |
| 10 | echo "" | |
| 11 | /usr/bin/crontab -l |
Note: See TracBrowser
for help on using the repository browser.
