Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scheduled tasks interface??
Message
From
27/11/2007 11:56:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01271257
Message ID:
01271476
Views:
13
>>>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform