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
2nd Mar 2017, 2:27 PM
DefaltSimon
0
thanks man
2nd Mar 2017, 4:13 PM
chiju
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :