Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Issuing a Kill Task or a reboot
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00461600
Message ID:
00461907
Vues:
10
>I have an external piece of software that is used for unattended offsite backups, unfortunately it regularly hangs but holds the telephone line open; thus resulting in a huge bill!
>
>I know that it should have always finished by 2am and want to check if it is still running - if it is I need to either kill the task or reboot the machine (effectively killing it).

Hi, Derek.

Try:

declare integer ExitWindowsEx in Win32api as TheEnd integer nValue

TheEnd(1)

quit

I never tried it. Also, I imagine that Windows Scripting Host must have a way to shut down the machine. Just don't have a reference at hand. George?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform