Parse a cron entry in Python

前端 未结 3 1122
长情又很酷
长情又很酷 2020-12-16 07:11

All. I am trying to find a python module that I can use to parse a cron entry and get the next time it will run. With perl I use the Schedule::Cron::Events module but I woul

3条回答
  •  庸人自扰
    2020-12-16 08:05

    I could be wrong but doesn't python crontab offer ways to read and write to crontab but nothing regarding parsing the crontab to determine the time until the next time a job will be run?

提交回复
热议问题