Changeset 2313
- Timestamp:
- Sep 1, 2012, 10:30:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/common/oursrc/accountadm/cronload
r765 r2313 1 1 #!/bin/sh 2 3 if [ -z "$1" ]; then 4 echo "ERROR: please specify a crontab file" >&2 5 exit 1 6 fi 2 7 3 8 if [ -n "$2" ]; then 4 9 cd "$2" 10 fi 11 12 if [ ! -f "$1" ]; then 13 echo "ERROR: file does not exist" >&2 14 exit 1 5 15 fi 6 16
Note: See TracChangeset
for help on using the changeset viewer.