nsbin/hole_mails

16 lines
224 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
SLEEP=$1
if [ -z "$SLEEP" ]; then
echo "$0 Zeit zum Schlafen"
exit 1
fi
while true; do
fetchmail >/dev/null
# offlineimap
echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)"
2006-07-20 07:54:37 +00:00
sleep $SLEEP;
done