python – 将参数传递给apscheduler处理函数

python – 将参数传递给apscheduler处理函数

我正在使用apscheduler,我试图将参数传递给启动计划作业时调用的处理函数: from apscheduler.scheduler import Schedulerimport timedef printit(sometext): print this happens every 5 seconds print sometextsched = Scheduler

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息

返回顶部