¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita2 Respuestas
+ 1
As far as I understand, this is how you do it:
from crontab import CronTab
cr = CronTab(user="username")
# Then simply iterate over cr
for cron_event in cr:
# do whatever
0
thanks man