Scheduling

AutoIt

Q #1: How can I schedule the running of an AutoIt script?

      ---------------------------------------------------------------------

A #1: A strategy is to use the time variables with a compare (IfEqual) and
      wait loop internal to your script. placing the script into the
      startup folder will start it. This may eat some clock cycles but in
      my case the script will be only one of two applications running on
      the machine at the time.

      ---------------------------------------------------------------------

A #2  If you're using Win 98 or above, you can schedule your script through
      the System Task Scheduler.  I can't remember if Win 95 had this.
      Also, there are several freeWare task schedulers that have been
      modeled after Unix Cron.

      ---------------------------------------------------------------------

A #3: I use Just In Time to start an AutoIt script to collect call
      information data every half hour from a telephone switch.  The
      Microsoft scheduler and many others schedulers run in ring 3 and will
      not interrupt the kernel it a higher priority task is running.  If
      the programmed start tick passes the MS scheduler does not start the
      scheduled program. Since I went to JIT I have only missed one startup
      because of the 56 day uptime system bug in MS 9x OS. A scheduled
      reboot each weekend by another script, or JIT can do it for you,
      JIT (Version 4.xx and below) is freeware and is available from

      http://members.xoom.com/polyakoff/


      Version 5.0 and up has been released as inexpensive shareware.

      Here are some small scripting/scheduling/automating utilities, that
      may be useful for reference:
      NNCron - http://nemtsev.virtualave.net/

      Runner - http://home.comset.net/panoff/runner/runner.phtml

      Control Agent - http://www.dg.spb.ru/cgi/index.cgi?ca/default.htm+koi8