用python得知 cron表达式
# coding:utf8 import croniter, datetime def CronRunNextTimelist(sched, frequency=1): now = datetime.datetime.now() cron = croniter.croniter(sched, now) return [cron.get_next(datetime.datetime).strftime("%Y-%m-%d %H:%M") for i in range(frequency)] sched = "0 0 8 * *" print(CronRunNextTimelist(sched,frequency=2))