petits-scripts-persos/syncmails
2025-06-06 00:14:54 +02:00

18 lines
191 B
Bash
Executable File

#!/bin/bash
set -u
cd ~/offlineimap3
if [ ! -d venv ] ; then
virtualenv venv
fi
. venv/bin/activate
python offlineimap.py
while true ; do
sleep 30
python offlineimap.py -q
done