Changeset 1564 for branches/locker-dev/locker/bin/cronload
- Timestamp:
- May 24, 2010, 11:12:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/locker-dev/locker/bin/cronload
r1563 r1564 1 1 #!/bin/sh 2 2 3 usage="Usage \"$0 [-l lockername] crontab\""3 usage="Usage \"$0 [-l lockername] [-h] crontab\"" 4 4 while getopts "l:h" options; do 5 5 case $options in 6 6 l ) lname=$OPTARG;; 7 7 h ) echo "$usage"; exit 0;; 8 \? ) echo "$usage" 9 exit 1;; 10 * ) echo "$usage" 11 exit 1;; 8 * ) echo "$usage"; exit 1;; 12 9 esac 13 10 done
Note: See TracChangeset
for help on using the changeset viewer.