Home All Groups Group Topic Archive Search About

How can I add jobs to the system scheduler

Author
10 Oct 2006 5:19 PM
Jeffrey Grantz
I am trying to do something that I thought would be simple but I can't find
a reasonable way to do it in VB.  All I want to do, (haven't we heard that
before) Is schedule some jobs into the system scheduler in such a way that
they can be modified by the user if necessary.  I have tried
Win32_ScheduledJob but it deos not allow user modification after Create.  Is
there a way to do what I want and if so, please tell me how.



Thanks for any help.

Author
10 Oct 2006 8:12 PM
Stacey
http://www.mvps.org/emorcillo/en/code/shell/tasksched.shtml



Show quote Hide quote
"Jeffrey Grantz" <gran***@mail.palmbeach.k12.fl.us> wrote in message
news:e2zI4AJ7GHA.4996@TK2MSFTNGP03.phx.gbl...
>
>
> I am trying to do something that I thought would be simple but I can't
> find a reasonable way to do it in VB.  All I want to do, (haven't we heard
> that before) Is schedule some jobs into the system scheduler in such a way
> that they can be modified by the user if necessary.  I have tried
> Win32_ScheduledJob but it deos not allow user modification after Create.
> Is there a way to do what I want and if so, please tell me how.
>
>
>
> Thanks for any help.
>
>
Author
11 Oct 2006 1:34 AM
Eric Moreau
I wrote an article in August 2004 based on Eduardo's component that you can
read from http://emoreau.s2i.com/

--


HTH

Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
S2i web inc. (www.s2i.com)
http://emoreau.s2i.com/

Show quoteHide quote
"Stacey" <StaceyL@community.nospam> wrote in message
news:%23MeryhK7GHA.4428@TK2MSFTNGP02.phx.gbl...
> http://www.mvps.org/emorcillo/en/code/shell/tasksched.shtml
>
>
>
> "Jeffrey Grantz" <gran***@mail.palmbeach.k12.fl.us> wrote in message
> news:e2zI4AJ7GHA.4996@TK2MSFTNGP03.phx.gbl...
>>
>>
>> I am trying to do something that I thought would be simple but I can't
>> find a reasonable way to do it in VB.  All I want to do, (haven't we
>> heard that before) Is schedule some jobs into the system scheduler in
>> such a way that they can be modified by the user if necessary.  I have
>> tried Win32_ScheduledJob but it deos not allow user modification after
>> Create. Is there a way to do what I want and if so, please tell me how.
>>
>>
>>
>> Thanks for any help.
>>
>>
>
>
Author
13 Oct 2006 1:41 AM
fred.dixon@gmail.com
On Oct 10, 9:34 pm, "Eric Moreau"
<eric.moreau_N_O_S_P_***@videotron.ca> wrote:
Show quoteHide quote
> I wrote an article in August 2004 based on Eduardo's component that you can
> read fromhttp://emoreau.s2i.com/
>
> --
>
> HTH
>
> Éric Moreau, MCSD, Visual Developer - Visual Basic MVP
> Conseiller Principal / Senior Consultant
> S2i web inc. (www.s2i.com)http://emoreau.s2i.com/
>
> "Stacey" <Stac...@community.nospam> wrote in messagenews:%23MeryhK7GHA.4***@TK2MSFTNGP02.phx.gbl...
>
> >http://www.mvps.org/emorcillo/en/code/shell/tasksched.shtml
>
> > "Jeffrey Grantz" <gran***@mail.palmbeach.k12.fl.us> wrote in message
> >news:e2zI4AJ7GHA.4996@TK2MSFTNGP03.phx.gbl...
>
> >> I am trying to do something that I thought would be simple but I can't
> >> find a reasonable way to do it in VB.  All I want to do, (haven't we
> >> heard that before) Is schedule some jobs into the system scheduler in
> >> such a way that they can be modified by the user if necessary.  I have
> >> tried Win32_ScheduledJob but it deos not allow user modification after
> >> Create. Is there a way to do what I want and if so, please tell me how.
>
> >> Thanks for any help.

you could always use the [Schtasks] program in xp or the [jt] program
in 2k.
they are cmdline interfaces that you could shell to in a hidden window.

might not be what you want but for something quick and dirty, they work
ok
both are single exe file and are in the resource kits for 2k/2k3 (both
work on xp jt works on 2k)
also at.exe still works on nt and up.