Bonjour tout le monde !
J'ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s'est éteinte. J'ai refait plusieurs test mais non, ça ne veut vraiment pas. Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ? Bonne journée à vous
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Merci Simon ☺ J’avais cherché dans les dépots Tis sans succès ;-) Mais j’aurai du lire plus attentivement le changelog de la WAPT-1.8.2.7265 (2020-06-11) ☺
Merci bien et bonne journée !
De : WAPT wapt-bounces@lists.tranquil.it De la part de Simon FONTENEAU Envoyé : jeudi 5 novembre 2020 13:59 À : wapt@lists.tranquil.it Objet : Re: [Wapt] Shutdown des postes à partir de la console
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit : Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte. J’ai refait plusieurs test mais non, ça ne veut vraiment pas. Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ? Bonne journée à vous
_______________________________________________
WAPT mailing list
WAPT@lists.tranquil.itmailto:WAPT@lists.tranquil.it
Je peux utiliser WAPT.config_filename au lieu de makepath(install_location('WAPT_is1'),'wapt-get.ini') ? ☺
De : WAPT wapt-bounces@lists.tranquil.it De la part de MORILLO Jordi Envoyé : jeudi 5 novembre 2020 14:33 À : wapt@lists.tranquil.it Objet : Re: [Wapt] Shutdown des postes à partir de la console
Merci Simon ☺ J’avais cherché dans les dépots Tis sans succès ;-) Mais j’aurai du lire plus attentivement le changelog de la WAPT-1.8.2.7265 (2020-06-11) ☺
Merci bien et bonne journée !
De : WAPT <wapt-bounces@lists.tranquil.itmailto:wapt-bounces@lists.tranquil.it> De la part de Simon FONTENEAU Envoyé : jeudi 5 novembre 2020 13:59 À : wapt@lists.tranquil.itmailto:wapt@lists.tranquil.it Objet : Re: [Wapt] Shutdown des postes à partir de la console
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit : Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte. J’ai refait plusieurs test mais non, ça ne veut vraiment pas. Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ? Bonne journée à vous
_______________________________________________
WAPT mailing list
WAPT@lists.tranquil.itmailto:WAPT@lists.tranquil.it
Bonjour Jordi,
j'utilise cette forme et cela fonctionne ;)
----------------------------------------------------------------------------------------------
*Gaëtan SEGAT * Gestionnaire Parc Informatique Inserm| DRSI Toulouse CHU Purpan – BP 3048 | 31024 Toulouse cedex 3 Tél. 05 62 74 83 58 - 06 35 50 42 80
Le 05/11/2020 à 14:39, MORILLO Jordi a écrit :
Je peux utiliser WAPT.config_filename au lieu de makepath(install_location('WAPT_is1'),'wapt-get.ini') ? J
*De :*WAPT wapt-bounces@lists.tranquil.it *De la part de* MORILLO Jordi *Envoyé :* jeudi 5 novembre 2020 14:33 *À :* wapt@lists.tranquil.it *Objet :* Re: [Wapt] Shutdown des postes à partir de la console
Merci Simon J
J’avais cherché dans les dépots Tis sans succès ;-)
Mais j’aurai du lire plus attentivement le changelog de la WAPT-1.8.2.7265 (2020-06-11) J
Merci bien et bonne journée !
*De :*WAPT <wapt-bounces@lists.tranquil.it mailto:wapt-bounces@lists.tranquil.it> *De la part de* Simon FONTENEAU *Envoyé :* jeudi 5 novembre 2020 13:59 *À :* wapt@lists.tranquil.it mailto:wapt@lists.tranquil.it *Objet :* Re: [Wapt] Shutdown des postes à partir de la console
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde ! J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte. J’ai refait plusieurs test mais non, ça ne veut vraiment pas. Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ? Bonne journée à vous _______________________________________________ WAPT mailing list WAPT@lists.tranquil.it <mailto:WAPT@lists.tranquil.it> http://lists.tranquil.it/listinfo/wapt <http://lists.tranquil.it/listinfo/wapt>
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour a tous,
Et pour les machines Linux ?
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Le 06/11/2020 à 10:20, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
J'ai une erreur lors du déploiement du package sous linux xubuntu 20.04
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptu7egw5/setup.py", line 7, in install NameError: global name 'install_location' is not defined NameError: global name 'install_location' is not defined
Sous Windows il n'y a pas de soucis.
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Bonjour Christophe,
Le 2020-11-06 10:32, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:20, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
J'ai une erreur lors du déploiement du package sous linux xubuntu 20.04
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptu7egw5/setup.py", line 7, in install NameError: global name 'install_location' is not defined NameError: global name 'install_location' is not defined
Sous Windows il n'y a pas de soucis.
je parlais de la fonctionnalité d'extinction à distance sous Waptentreprise. Elle fonctionne sous Windows, Linux et Mac. Par contre l'appel install_location se base sur la liste des programmes installés que l'on peut voir dans le panneaux de configuration à travers un appel à la base de registre. Donc cet appel ne peut pas fonctionner en l'état. Conceptuellement sous Linux beaucoup de programme sont éclatés un peu partout sur le filesystem (/etc /usr/bin /usr/lib /var/log, etc.) donc le concept ne matche pas vraiment. Et même si la fonction était portée, la chaîne de caractère 'WAPT_is1' est spécifique à InnoSetup, le packageur utilisé sous Windows pour waptagent.exe...
Par contre l'autre appel WAPT.config_filename devrait être fonctionnel, même sous Linux.
Cordialement,
Denis
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True') inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True') Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Le 06/11/2020 à 10:39, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:32, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:20, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
J'ai une erreur lors du déploiement du package sous linux xubuntu 20.04
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptu7egw5/setup.py", line 7, in install NameError: global name 'install_location' is not defined NameError: global name 'install_location' is not defined
Sous Windows il n'y a pas de soucis.
je parlais de la fonctionnalité d'extinction à distance sous Waptentreprise. Elle fonctionne sous Windows, Linux et Mac. Par contre l'appel install_location se base sur la liste des programmes installés que l'on peut voir dans le panneaux de configuration à travers un appel à la base de registre. Donc cet appel ne peut pas fonctionner en l'état. Conceptuellement sous Linux beaucoup de programme sont éclatés un peu partout sur le filesystem (/etc /usr/bin /usr/lib /var/log, etc.) donc le concept ne matche pas vraiment. Et même si la fonction était portée, la chaîne de caractère 'WAPT_is1' est spécifique à InnoSetup, le packageur utilisé sous Windows pour waptagent.exe...
Par contre l'autre appel WAPT.config_filename devrait être fonctionnel, même sous Linux.
Ca ne fonctionne toujours pas mais je ne sais pas la syntaxe. Voici ce que j'ai mis :
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','allow_remote_reboot','True')
Et j'ai le message suivant :
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptHxml1_/setup.py", line 7, in install TypeError: 'str' object is not callable TypeError: 'str' object is not callable
Cordialement,
Denis
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True') inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True') Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Cordialement,
Ca fonctionne.
inifile_writestring(WAPT.config_filename,'global','allow_remote_shutdown','True') inifile_writestring(WAPT.config_filename,'global','allow_remote_reboot','True')
Je l'avais fait à la première modification, et j'ai eu un message de problème de dépendances. Une erreur de frappe sans doute.
Merci beaucoup.
Le 06/11/2020 à 11:04, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:39, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:32, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:20, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
J'ai une erreur lors du déploiement du package sous linux xubuntu 20.04
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptu7egw5/setup.py", line 7, in install NameError: global name 'install_location' is not defined NameError: global name 'install_location' is not defined
Sous Windows il n'y a pas de soucis.
je parlais de la fonctionnalité d'extinction à distance sous Waptentreprise. Elle fonctionne sous Windows, Linux et Mac. Par contre l'appel install_location se base sur la liste des programmes installés que l'on peut voir dans le panneaux de configuration à travers un appel à la base de registre. Donc cet appel ne peut pas fonctionner en l'état. Conceptuellement sous Linux beaucoup de programme sont éclatés un peu partout sur le filesystem (/etc /usr/bin /usr/lib /var/log, etc.) donc le concept ne matche pas vraiment. Et même si la fonction était portée, la chaîne de caractère 'WAPT_is1' est spécifique à InnoSetup, le packageur utilisé sous Windows pour waptagent.exe...
Par contre l'autre appel WAPT.config_filename devrait être fonctionnel, même sous Linux.
Ca ne fonctionne toujours pas mais je ne sais pas la syntaxe. Voici ce que j'ai mis :
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','allow_remote_reboot','True')
Et j'ai le message suivant :
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptHxml1_/setup.py", line 7, in install TypeError: 'str' object is not callable TypeError: 'str' object is not callable
Cordialement,
Denis
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True') inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True') Le 05/11/2020 à 13:39, MORILLO Jordi a écrit : > > Bonjour tout le monde ! > > J’ai voulu tester pour la 1ere fois le bouton « arrêter les > machines » depuis la console, mais aucun des machines > sélectionnées ne s’est éteinte. > > J’ai refait plusieurs test mais non, ça ne veut vraiment pas. > > Est-ce que cette fonctionnalité est opérationnelle ou bien il > y-t-il des subtilités à connaitre ? > > Bonne journée à vous > > > _______________________________________________ > WAPT mailing list > WAPT@lists.tranquil.it > http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Cordialement,
Mon package:
# -*- coding: utf-8 -*- from setuphelpers import * uninstallkey = [] def install():
print('Modify wapt-conf.ini') inifile_writestring(WAPT.config_filename,'global','allow_remote_shutdown','True') inifile_writestring(WAPT.config_filename,'global','allow_remote_reboot','True')
def uninstall(): print('Modify wapt-conf.ini') inifile_writestring(WAPT.config_filename,'global','allow_remote_shutdown','False') inifile_writestring(WAPT.config_filename,'global','allow_remote_reboot','False')
-----Message d'origine----- De : WAPT wapt-bounces@lists.tranquil.it De la part de JENAUX Christophe Envoyé : vendredi 6 novembre 2020 11:26 À : wapt@lists.tranquil.it Objet : Re: [Wapt] Shutdown des postes à partir de la console
Ca fonctionne.
inifile_writestring(WAPT.config_filename,'global','allow_remote_shutdown','True') inifile_writestring(WAPT.config_filename,'global','allow_remote_reboot','True')
Je l'avais fait à la première modification, et j'ai eu un message de problème de dépendances. Une erreur de frappe sans doute.
Merci beaucoup.
Le 06/11/2020 à 11:04, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:39, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:32, JENAUX Christophe a écrit :
Le 06/11/2020 à 10:20, dcardon@tranquil.it a écrit :
Bonjour Christophe,
Le 2020-11-06 10:12, JENAUX Christophe a écrit :
Bonjour a tous,
Et pour les machines Linux ?
oui ça devrait fonctionner.
J'ai une erreur lors du déploiement du package sous linux xubuntu 20.04
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptu7egw5/setup.py", line 7, in install NameError: global name 'install_location' is not defined NameError: global name 'install_location' is not defined
Sous Windows il n'y a pas de soucis.
je parlais de la fonctionnalité d'extinction à distance sous Waptentreprise. Elle fonctionne sous Windows, Linux et Mac. Par contre l'appel install_location se base sur la liste des programmes installés que l'on peut voir dans le panneaux de configuration à travers un appel à la base de registre. Donc cet appel ne peut pas fonctionner en l'état. Conceptuellement sous Linux beaucoup de programme sont éclatés un peu partout sur le filesystem (/etc /usr/bin /usr/lib /var/log, etc.) donc le concept ne matche pas vraiment. Et même si la fonction était portée, la chaîne de caractère 'WAPT_is1' est spécifique à InnoSetup, le packageur utilisé sous Windows pour waptagent.exe...
Par contre l'autre appel WAPT.config_filename devrait être fonctionnel, même sous Linux.
Ca ne fonctionne toujours pas mais je ne sais pas la syntaxe. Voici ce que j'ai mis :
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','all ow_remote_shutdown','True')
inifile_writestring(WAPT.config_filename('wapt-get.ini'),'global','all ow_remote_reboot','True')
Et j'ai le message suivant :
Traceback (most recent call last): File "/opt/wapt/common.py", line 3877, in install_wapt exitstatus = setup.install() File "/tmp/waptHxml1_/setup.py", line 7, in install TypeError: 'str' object is not callable TypeError: 'str' object is not callable
Cordialement,
Denis
Cordialement,
Denis
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-g et.ini'),'global','allow_remote_shutdown','True') inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-g et.ini'),'global','allow_remote_reboot','True') Le 05/11/2020 à 13:39, MORILLO Jordi a écrit : > > Bonjour tout le monde ! > > J’ai voulu tester pour la 1ere fois le bouton « arrêter les > machines » depuis la console, mais aucun des machines > sélectionnées ne s’est éteinte. > > J’ai refait plusieurs test mais non, ça ne veut vraiment pas. > > Est-ce que cette fonctionnalité est opérationnelle ou bien il > y-t-il des subtilités à connaitre ? > > Bonne journée à vous > > > _______________________________________________ > WAPT mailing list > WAPT@lists.tranquil.it > http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
Cordialement,
Autre solution, passer par une commande externe via Préférence → Outils externes :
* Nom : Éteindre * Exécutable : shutdown.exe * Commande : -s -f -t 0 -m \{ip}
Autre exemple de commande :
* Redémarrer : -r -f -t 0 -m \{ip} * Accès au disque C : \{ip}\c$ * Accès aux profil des utilisateurs : \{ip}\c$\users
Le 05/11/2020 à 13:58, Simon FONTENEAU a écrit :
Si tu fais un paquet qui fait ça 😁 ?
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_shutdown','True')
inifile_writestring(makepath(install_location('WAPT_is1'),'wapt-get.ini'),'global','allow_remote_reboot','True')
Le 05/11/2020 à 13:39, MORILLO Jordi a écrit :
Bonjour tout le monde !
J’ai voulu tester pour la 1ere fois le bouton « arrêter les machines » depuis la console, mais aucun des machines sélectionnées ne s’est éteinte.
J’ai refait plusieurs test mais non, ça ne veut vraiment pas.
Est-ce que cette fonctionnalité est opérationnelle ou bien il y-t-il des subtilités à connaitre ?
Bonne journée à vous
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt
WAPT mailing list WAPT@lists.tranquil.it http://lists.tranquil.it/listinfo/wapt