>>>I'd need something that will let users add stuff to the scheduled tasks. Anyone ever written an interface in VFP for the thing or have any suggestions?
>>>
>>>Thanks!
>>
>>Victor,
>>What I did was to create a timer based task runner, running background invisibly. When its timer fires it reads the jobs from a table and executes them. The table holds things like jobId, machineToExecuteOn, lastRanTime, nextRunTime, parameters.
>>Main application have an interface to create scheduling per task and it creates the entries in job table.
>>IOW it's completely VFP based scheduled tasks runner, coupled closely with the appication (using many shared routines to do its jobs).
>>Cetin
>
>That sounds exactly like something I wrote a few years ago for a client in Texas. I'd love to re-use the source code I did for them, but in this case the client owns that souce code so I can't. It took me a coupla weeks to write it back then so I was hoping to avoid having to do all that and just find a way to use the MS scheduler...
I see. VFP one however have a chance to run the tasks distributed (multiple clients sharing the same data could fire task scheduler and each one of them might be running one of the tasks at the same time).
Part of source code belongs to you, no? I never sell the full code rights so I don't know really.
Cetin