PKGBUILDs/core/dcron/run-cron

15 lines
151 B
Text
Raw Normal View History

2009-10-10 02:17:35 +00:00
#!/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