用途有两个:
1、延迟一段时间后执行
比如:
waitfor delay '00:00:05'
print '延迟5秒执行!'
--5秒后执行print
2、指定从何时起执行
比如:
waitfor time '21:17'
print '21:17执行'
--到21:17的时候才会执行print
转载于:https://www.cnblogs.com/ice5/articles/1186472.html
本文介绍了两种执行定时任务的方法:一种是延迟指定时间后执行任务;另一种是指定具体时间点执行任务。通过示例代码展示了如何实现这两种定时任务。
转载于:https://www.cnblogs.com/ice5/articles/1186472.html
5173

被折叠的 条评论
为什么被折叠?