BOUNCER Posted June 18, 2009 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
yucatan Posted June 18, 2009 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
Zedna Posted June 18, 2009 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
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