以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  怎样在特定时间做某个操作  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=100082)

--  作者:有点色
--  发布时间:2017/5/4 15:58:00
--  

 做个计划管理,写代码

 

static d As Date = Date.today.AddDays(-1)
If d <> Date.today AndAlso Date.Now.Hour = 8 Then
    d = Date.today
   
    \'导入的代码
   
End If

 

http://www.foxtable.com/webhelp/scr/0657.htm

 



--  作者:playmal
--  发布时间:2020/9/10 9:27:00
--  
这里面时间间隔如何设置


--  作者:有点蓝
--  发布时间:2020/9/10 9:40:00
--  
如果要求较精确,一般1分钟,如果不是很精确,比如8~9点之间都可以,间隔设置1~59分钟之内都可以,自己喜欢