Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote Shutdown
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00087503
Message ID:
00087683
Views:
34
>>This week I posted an inquiry as to how to shutdown
>>the machine programatically. My thanks to Ed Rauh
>>who gave detailed instructions on how to do this,
>>Nigel Coates who straightened me out on what was wrong
>>with my implimentation and George Tasker and Emanuel
>>Huybrechts. Now the clients wants to copy the system
>>to the backup machine and shut it down remotely before
>>the primary machine shuts itself down. Does anyone
>>know how to shut down a remote machine. The idea makes
>>sense as it will get everyone out a half hour earlier
>>when they would just be watching machines run. Thanks
>
>Derek,
>I don't know of a way to shutdown a remote machine, but what I have done for a similar purpose is to have a the exe running on the remote machine looking for a particular file (empty txt file). When it sees this file, it removes it and then shuts itself down. This could do the same as a stand-alone exe on your client's backup machine. When it sees the file(s) (could be one per user?) it removes them and then shuts the machine down. Would this do it???

Dear Nigel,
What you suggest was my backup plan to start programs
simultaneously on both machines the update program then the
copy program on the first machine. On the second machine
a program that times a 30 minute interval the checks for
finished text in the first directory to be copied which would be
the last thing the first machine would do before shutting down.
If the second machine finds finished.txt it deletes it and
shuts down. I just thought it would be more elegant to do it
programaticaly from within the first machine eliminating the
need to touch the second machine. Thanks Derek.
Previous
Reply
Map
View

Click here to load this message in the networking platform