1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh if [ -z $1 ]; then echo "Usage: $0 crondir" exit 1 fi for cron in $1/* ; do if [ -x $cron ]; then $cron fi done unset cron