nsbin/hole_mails
Nico Schottelius f7808b6c8e add correct to for isg_order
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2010-09-08 17:10:30 +02:00

15 lines
224 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
# offlineimap
echo "Mails abgeholt, schlafe nun $SLEEP Sekunde(n)"
sleep $SLEEP;
done