SiComponents Home Page SiComponents Forums
Here you will be able to get help and share your experience
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Task Update Bug

 
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent
View previous topic :: View next topic  
Author Message
mimarsinan



Joined: 20 Apr 2006
Posts: 2

PostPosted: Wed Jul 12, 2006 3:08 pm    Post subject: Task Update Bug Reply with quote

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.
Back to top
View user's profile Send private message
Haron



Joined: 11 Mar 2004
Posts: 39

PostPosted: Thu Jul 13, 2006 8:31 pm    Post subject: Reply with quote

Please wait a few days. This is certainly bug.
Back to top
View user's profile Send private message
isiticov
Site Admin


Joined: 21 Nov 2002
Posts: 2097

PostPosted: Mon Jul 17, 2006 4:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SiComponents Forums Forum Index -> VCL Scheduling Agent All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by p h p B B  © 2001, 2005 p h p B B  Group