Re: NetScheduleJobAdd

From: Karl E. Peterson (karl_at_mvps.org)
Date: 01/18/05


Date: Tue, 18 Jan 2005 12:28:14 -0800

RM wrote:
> I am trying to use this api call to schedule an archiving program I
> created in VB. It works fine, but when it starts the program, the
> logon form pops up. Is there anyway to programmatically send the
> scheduler the username and password you would like it to run with,
> instead of having it run as the user System?

I've heard very good reveiws of the task scheduler code here:

http://www.mvps.org/emorcillo/vb6/grl/index.shtml

If that doesn't cover RunAs, I'd be surprised.

-- 
[Microsoft Basic: 1976-2001, RIP]


Relevant Pages

  • Re: Add wakeup_with() before 7.0?
    ... >> I propose to add a new api for wakeup before 7.0. ... >> accept a wait channel and a flags argument. ... >> This allows wakeup callers to hint the scheduler about various ...
    (freebsd-arch)
  • Re: [RFC] [Patch 7/8] statistics infrastructure - exploitation prerequisite
    ... Andrew Morton wrote: ... scheduler thing and has a number of accuracy problems. ... I would be happy to exploit an API that may result from that discussion. ...
    (Linux-Kernel)
  • Re: Win32_ScheduledJob
    ... >>When i am trying to list scheduled jobs via Win32_ScheduledJob ... >>should i use something else than WMI? ... > support to use these API, you need to write some COM Interop in your .NET ... > Wrapper Classes for the Windows Task Scheduler ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: NetScheduleJobAdd
    ... > I am trying to use this api call to schedule an archiving program I ... I've heard very good reveiws of the task scheduler code here: ... [Microsoft Basic: 1976-2001, RIP] ...
    (microsoft.public.vb.winapi)