Task Update Bug

This forum is designated to discuss SiComponents Scheduling Agent.
Post Reply
mimarsinan
Posts: 2
Joined: Thu Apr 20, 2006 12:25 am

Task Update Bug

Post by mimarsinan »

When I try to use it to update a scheduled task, it does not work. What I am trying to do is exactly this: just change the EXE that my scheduled task points to. Nothing else. I am not intending to change any other property of the scheduled task, only the EXE.

This works with the native Windows Task Scheduler interface. It does not work with your own example program, when I just change the EXE. I get an error "could not start" when I attempt to start the updated task.

Please let me know how I can update just the EXE of a scheduled task.
Haron
Posts: 39
Joined: Thu Mar 11, 2004 6:29 am

Post by Haron »

Please wait a few days. This is certainly bug.
isiticov
Site Admin
Posts: 2383
Joined: Thu Nov 21, 2002 3:17 pm

Post by isiticov »

Hi Sinan,

Yes, unfortunately, it looks like again a Windows issue. To fix this you will just need to call SetAccountInformation() method with appropriate data for the Task Item and set again the account information after changing the EXE path. Then it will work.
Best regards,
Igor Siticov.
Post Reply