nsbin/hole_mails
Nico Schottelius d3c6e29902 Initial commit
2006-07-20 09:54:37 +02:00

14 lines
199 B
Bash
Executable file

#!/bin/sh
SLEEP=$1
if [ -z "$SLEEP" ]; then
echo "$0 Zeit zum Schlafen"
exit 1
fi
while true; do
fetchmail >/dev/null ;
echo "Mails abgeholt, schlafe nun $SLEEP"
sleep $SLEEP;
done