BOUNCER Posted June 18, 2009 Share Posted June 18, 2009 (edited) how do i run http://www.autoitscript.com/forum/index.ph...860&hl=SMTPevery 12 hours? i tried putting it in a while loop While 1 $ti = TimerInit() While TimerDiff($ti) < 60 * 60 * 12000 Sleep(1000) WEnd .......CODE WEndbut it doesnt parse correctly and i dont know whats wrong Edited June 18, 2009 by BOUNCER Link to comment Share on other sites More sharing options...
yucatan Posted June 18, 2009 Share Posted June 18, 2009 how do i run http://www.autoitscript.com/forum/index.ph...860&hl=SMTP every 12 hours? i tried putting it in a while loop While 1 $ti = TimerInit() While TimerDiff($ti) < 60 * 60 * 12000 Sleep(1000) WEnd .......CODE WEnd but it doesnt parse correctly and i dont know whats wrong while true if @hour = 12 then CODE wend Link to comment Share on other sites More sharing options...
Zedna Posted June 18, 2009 Share Posted June 18, 2009 While 1 $ti = TimerInit() While TimerDiff($ti) < 1000 * 60 * 60 * 12; <- 12 hours Sleep(1000) WEnd ; .......CODE WEnd Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now