Hello everyone! .
First of all, this project is awesome!
P.S. Sorry for the strange question. Maybe it's better to place it on StackOverflow...
What i am trying to do:
I need a solution to programmatically restart my 3G modem on some trigger using nodejs. I used cmd script with rasdial command that i run with nodejs child-process.exec and it works good. I open Windows CMD console and run my simple script. On trigger my 3G modem is restarting as i expected...
But when I am trying to start my nodejs script as service, my cmd script runs.
"rasdial connectionName \DISCONNECT" works good, but next command "rasdial connectionName" does not work. In output log i see Error 623.
Can it be bound with "node-windows" or it is a Windows/permissions problem?
Hello everyone! . First of all, this project is awesome!
P.S. Sorry for the strange question. Maybe it's better to place it on StackOverflow...
What i am trying to do:
I need a solution to programmatically restart my 3G modem on some trigger using nodejs. I used cmd script with rasdial command that i run with nodejs child-process.exec and it works good. I open Windows CMD console and run my simple script. On trigger my 3G modem is restarting as i expected...
But when I am trying to start my nodejs script as service, my cmd script runs. "rasdial connectionName \DISCONNECT" works good, but next command "rasdial connectionName" does not work. In output log i see Error 623.
Can it be bound with "node-windows" or it is a Windows/permissions problem?