Jump to content

windows scheduler


Recommended Posts

Hi,

Have a look at schtasks.exe gives you all you need. Get output with StdOut.

e.g:

#include <Constants.au3>

$pid = Run (@ComSpec & " /c schtasks.exe", @SystemDir, @SW_HIDE, $STDOUT_CHILD)
Local $line
While 1
    $line = StdoutRead($pid)
    If @error Then ExitLoop
    MsgBox(0, "STDOUT read:", $line)
Wend

For commandline options just run schtasks /?

;-))

Stefan

Edited by 99ojo
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...