How can I add jobs to the system scheduler

  • Thread starter Thread starter Jeffrey Grantz
  • Start date Start date
J

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

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