Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren2 Antworten
+ 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