Re: [python-win32] wmi, Win32_ScheduledJob and Execution User

2008-05-02 Thread Tim Golden
[Tom Moulton] I've followed Tim Golden's cookbook example to schedule a job via his Python wmi module; however, I need to specify the user account a scheduled job gets executed under (i.e., the process owner). The cookbook example will schedule a job owned by SYSTEM. I note the actual WMI lib

Re: [python-win32] wmi, Win32_ScheduledJob and Execution User

2008-05-01 Thread Mark Hammond
> I've followed Tim Golden's cookbook example to schedule a job via his > Python wmi module; however, I need to specify the user account a > scheduled job gets executed under (i.e., the process owner). The > cookbook example will schedule a job owned by SYSTEM. I note the > actual WMI library pro

[python-win32] wmi, Win32_ScheduledJob and Execution User

2008-05-01 Thread Roger Upole
The Win32_ScheduledJob class represents "AT Service" jobs, and doesn't support running under a specific user. When you access the job via the Scheduled Tasks api, it's actually converted to the newer task format. You can use the ITaskScheduler interface to directly create and manipulate schedule

[python-win32] wmi, Win32_ScheduledJob and Execution User

2008-05-01 Thread Tom Moulton
I've followed Tim Golden's cookbook example to schedule a job via his Python wmi module; however, I need to specify the user account a scheduled job gets executed under (i.e., the process owner). The cookbook example will schedule a job owned by SYSTEM. I note the actual WMI library provides f