Jump to content

Task Scheduler UDF


Recommended Posts

I'm looking UDF for Task Schedule create/delete/update/query

then also work on windows xp/vista/7

i am searching in the forum i dont found something like i looking for

in autoit.de i found this script:

http://www.autoit.de/index.php?page=Thread&postID=216637#post216637

but its only create Schedule and its work only on windows vista or 7

thanks.

Edited by shai
Link to comment
Share on other sites

I'm looking UDF for Task Schedule create/delete/update/query

then also work on windows xp/vista/7

i am searching in the forum i dont found something like i looking for

in autoit.de i found this script:

http://www.autoit.de/index.php?page=Thread&postID=216637#post216637

but its only create Schedule and its work only on windows vista or 7

thanks.

you don't really need a UDF for this because most of the functions are already built into command line in windows xp and above.

first one is "at" it's the easiest way to create a simple scheduled task and can be used to create a task on a remote computer. just open a command prompt (as administrator if windows vista or 7) and type at /?

Schtasks is a little more robust, has all of the options that you can access in the gui but can be run from command line. here is an msdn article about it http://msdn.microsoft.com/en-us/library/bb736357(v=vs.85).aspx but you can also do Schtasks /? to get info (i think the msdn artical is better because with /? you have to do it for each type of task you want to do create, delete, ect..)

Link to comment
Share on other sites

command line it is good for user but if i want that me application create schedule for yourself i cannot use the command line.

i tryed use run func with Schtasks command but it is not work perfect.

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...