Jump to content
Sign in to follow this  
yucatan

windows scheduler

Recommended Posts

yucatan

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
99ojo

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
yucatan

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.