I have run a few using batch jobs, but, I am wondering what would be the most appropriate? Maybe using time.strftime?
我已经运行了一些使用批处理作业,但是,我想知道什么是最合适的?也许使用time.strftime?
2 个解决方案
#1
If you're looking to do recurring scheduled tasks, then the Task Scheduler (Vista) or Scheduled Tasks (XP and, I think, earlier) is the appropriate method on Windows.
如果您正在寻找定期执行的计划任务,那么任务计划程序(Vista)或计划任务(XP,我认为,之前)是适用于Windows的方法。
#2
I'd second using the Task Scheduler.
我第二次使用任务计划程序。
I have also read about a 'cron-like' python based application PyCron - http://www.bigbluehost.com/article4.html . If you're from the Unix end of town you might find it more familiar than the Windows scheduler. Never used it myself but it might be of interest.
我还读过一篇关于'类似cron'的python应用程序PyCron - http://www.bigbluehost.com/article4.html。如果你来自Unix的一端,你可能会发现它比Windows调度程序更熟悉。从来没有使用它,但它可能是有趣的。
#1
If you're looking to do recurring scheduled tasks, then the Task Scheduler (Vista) or Scheduled Tasks (XP and, I think, earlier) is the appropriate method on Windows.
如果您正在寻找定期执行的计划任务,那么任务计划程序(Vista)或计划任务(XP,我认为,之前)是适用于Windows的方法。
#2
I'd second using the Task Scheduler.
我第二次使用任务计划程序。
I have also read about a 'cron-like' python based application PyCron - http://www.bigbluehost.com/article4.html . If you're from the Unix end of town you might find it more familiar than the Windows scheduler. Never used it myself but it might be of interest.
我还读过一篇关于'类似cron'的python应用程序PyCron - http://www.bigbluehost.com/article4.html。如果你来自Unix的一端,你可能会发现它比Windows调度程序更熟悉。从来没有使用它,但它可能是有趣的。