Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic Reboot on network disconnect?
Message
From
11/05/1998 17:37:16
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098595
Message ID:
00098596
Views:
29
>I have a wonderful little application here that just sits around all day monitoring a network directory for new files, then queueing up those files to a plotter.
>
>Trouble is, every time a tech shuts down the server, he forgets to restart this little application server.
>
>It's running on NT4, and I'd like to work out a way for it to force a 'ShutDown and Restart' if it remains disconnected for an hour (the delay would allow the server to be restarted for legit reasons without making the app server reboot constantly).
>
>So I guess my question is: How do I force a reboot in NT from VFP?

Better, just define your application as a service. And, bingo, when the server reboots, it runs.
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform