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 

How do I programmatically disable/enable jobs

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



Joined: 16 Apr 2004
Posts: 1

PostPosted: Fri Apr 16, 2004 6:46 am    Post subject: How do I programmatically disable/enable jobs Reply with quote

like the windows xp checkbox...

Enabled (scheduled task will run at specified time).
Back to top
View user's profile Send private message Visit poster's website
CarlDippel



Joined: 13 Nov 2003
Posts: 15
Location: LI, NY

PostPosted: Fri Apr 16, 2004 11:39 pm    Post subject: Reply with quote

Modiy the task flags.

Code:
Task.Flags:=Task.Flags-[tfDisabled]

or
Code:
Task.Flags:=Task.Flags+[tfDisabled]


Carl Dippel carl@dippel.us www.dippel.us/carl
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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