#!/bin/sh DELAY="30" while : do offlineimap sleep "${DELAY}" done