Sign in to follow this  
Followers 0
yucatan

windows scheduler

3 posts in this topic

is it possible to use a autoit gui to add remove and modify tasks in windows scheduler?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

thanks for the info i can now make a gui to control my scheduler thank u very much.

Share this post


Link to post
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
Sign in to follow this  
Followers 0