>Hi all,
>
>I have a VFP exe that runs a process (it doesn't have any UI). I need this exe to reside on a server and run in the servers memory space, using the server's processing power. Multiple copies of this exe could be running at any given time processing different records in some tables. Can I create a web service that will add the necessary data to some tables, then launch the exe (in its own process) and return (without waiting on the exe)? What kind of security issues will this pose (running the exe, that is)? This will be on an intranet server with no outside access. Is there a better way to remotely launch an exe on demand?
>
>TIA,
>Chad
Chad,
It's better to wrap the VFP application as a Windows Service. With a Windows Service, you have more control over CPU utilization and error reporting (via the Event Log).
Now that I think a moment about it, launching various background VFP applications on a server is a really bad idea. The processes could potentially consume 100% of the server's resources. Once this happens, your only option is to jump in a car and perform a hard-reboot of the server.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only