Utilizo un trabajo cron para llamar offlineimapcada 2 minutos:
*/2 * * * * /usr/bin/offlineimap > ~/Maildir/offlineimap.log 2>&1
Necesitaba matar el trabajo cron para solucionar un problema. ¿Cómo puedo reiniciar el trabajo cron (sin reiniciar)? Encontré esta 'solución' en línea:
mylogin@myhost:~$ sudo /etc/init.d/cron restart
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cron restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop cron ; start cron. The restart(8) utility is also available.
cron stop/waiting
cron start/running, process 26958
Sin embargo, usando ps -ef | grep ..., no veo el trabajo ... ¿Qué pasa?
crontab, comenta ese trabajo, realiza tu mantenimiento y luego descomenta ...