Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running a VFP EXE on the VM Server
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670603
Message ID:
01670609
Vues:
43
>>Hi,
>>
>>This thread is a follow-up or an alternative to the thread of Scheduling a VFP EXE in Windows Server.
>>
>>I am also considering creating the app and run it on the server 24/7 and have the app to have the VFP timer checking for day of the week and time. The app will print a bunch of reports once a week (at a set time). I think it would be better to have the app working as a service but I don't know how to create a service. So, it would have to be a regular EXE. I am scheduled to talk to the IT regarding the credentials under which the application will run. Provided, IT will have no problem with this, any gotches? (I know the the app should not have any message boxes or visual notification since nobody will see them. And I will send all error or other exception messages via email). But I am mostly concern about the Timer control and how well it will work if I call it, say every hour. Or every couple of hours.
>>
>>TIA
>>
>>
>Here is how to create windows service with Foxpro
>https://blogs.msdn.microsoft.com/calvin_hsia/2004/12/13/creating-a-vfp-application-as-a-service/
>
>But it is much easier with Task Scheduler.
>Just run it whether anyone is logged in or not.

Thank you for the link to the blog on creating a service.

But do I understand you correctly as far as your paragraph about the Task Scheduler that when running it from the Task Scheduler, it does not have to be a service? Or is it better - even when running from the Task Scheduler - to have the program as Service?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform