Bonjour,

J'ai besoin d'utiliser Etherpad, qui est basé sur node.js.
Lorsque je le lance en ligne de commande, aucun problème, tout fonctionne.

Je souhaite le mettre en tâche planifiée pour le lancer au démarrage.

Nom : etherpad.PNG
Affichages : 434
Taille : 8,0 Ko

J'ai essayé différentes configurations
Start.bat lance node.

Programme : "C:\\WINDOWS\\system32\\cmd.exe"
Argument : /C "D:\\Inetpub\\wwwroot\\etherpad\\start.bat"
Commencer dans : D:\\Inetpub\\wwwroot\\etherpad

Programme : "C:\\WINDOWS\\system32\\cmd.exe"
Argument : /K "D:\\Inetpub\\wwwroot\\etherpad\\start.bat"
Commencer dans : D:\\Inetpub\\wwwroot\\etherpad

Programme : "C:\\WINDOWS\\system32\\cmd.exe"
Argument : /Q "D:\\Inetpub\\wwwroot\\etherpad\\start.bat"
Commencer dans : D:\\Inetpub\\wwwroot\\etherpad

Programme : "D:\\Inetpub\\wwwroot\\etherpad\\start.bat"
Argument :
Commencer dans : D:\\Inetpub\\wwwroot\\etherpad


Avec ou sans \\, avec ou sans ".
Dans le gestionnaire de tâches, je vois apparaître l'interpréteur de commande et node.js, mais ils disparaissent au bout d'une seconde.


J'ai alors tenté de créer un service :

C:\>sc create Etherpad binPath="D:\\Inetpub\\wwwroot\\etherpad\\start.bat"
[SC] CreateService réussite(s)

Mais lorsque je le lance, j'obtiens :

Nom : etherpad2.PNG
Affichages : 400
Taille : 5,5 Ko


Quelqu'un aurait une solution ?