Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting down and starting a VFP app remotely
Message
De
10/12/2001 13:40:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00591942
Message ID:
00592243
Vues:
17
>>We have a VFP app running on a server that we need to be able to shut it down or start it remotely. We're looking for a way to do it from the browser. Our users are not into to login using PC Anywhere or Terminal Server for example. So, we need to have the ability to benefit of our existing administration panel from the Web in order to deliver this. Even if the application would be a service, we still need the need to manage its startup and shutdown from the Web. We also need the ability to show if the application is running. If yes, we need to have the ability to shut it down. Any suggestion?
>
>table appmgr appname c , path c , run l ,starttime dt,running l ,runcheck dt, stoptime dt
>
>Ok you want an app manager, launched when the server is started, which uses a table for apps you want to be managed by it. When a app is selected to run(flagged in the table as run = .t.), the app is executed and the app marks its .starttime with datetime() .running with .t., registers itself with the . Checking in periodically (timer) to updates runcheck with datetime() and checks to see its run is .f. and needs to shut itself down) and then marks stoptime with datetime() and running with .f.
>
>The table updating issues could be easliy handled the same way you manage the UT. The status of all apps running is availible through lookin at the appmgr table where running = .t.
>
>This give you some where to start?

I'm reading this and it is not clear as to what I should do. Are you making reference to an existing program that I can call in Win2K?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform