Jump to content

Looping a func every 60 mins


Glyph
 Share

Recommended Posts

;Shutdown?
_Shutdown()

;programs to load
_Load1()

;Download?
_Download()

;Upload?
_Upload()

;Status?
_Cstat()

I want to call these functions every 60 minutes, or 3600000 milliseconds, i'm looking at adlib.. but i'm quite confused... i have done this once before but have seemed to have lost my scripts, so i did a search for Adlib on the forums in general help, and again no help... i got one that searched at specific times not every 60 mins :/ so i want something like Adlibenable("_Shutdown",3600000)... but then im lost for everything after this :/

Edited by backstabbed

tolle indicium

Link to comment
Share on other sites

  • Moderators

;Shutdown?
_Shutdown()

;programs to load
_Load1()

;Download?
_Download()

;Upload?
_Upload()

;Status?
_Cstat()

Edit:

And just to make sure you don't come back and say it exits right away, if this is all you have, make sure you put a While/WEnd loop under AdlibEnable()

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

  • Moderators

Works perfecly, and it just so happens that that is the exact thing i was looking for :D, Kudos to you!

:) Errr... ? :D

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...