Commit 2faa47ae by softwhiskey8

поправил расширение файла

1 parent 70a787de
Showing with 1 additions and 1 deletions
...@@ -151,7 +151,7 @@ async function main() { ...@@ -151,7 +151,7 @@ async function main() {
//var cmd = `cd E:/work/projects2/telegram-channel-sender/; dotnet telegram-channel-sender.dll 3 79112349232 ${args['channel_type']}`; //var cmd = `cd E:/work/projects2/telegram-channel-sender/; dotnet telegram-channel-sender.dll 3 79112349232 ${args['channel_type']}`;
//let cmd = String.raw`cd E:/work/projects2/telegram-channel-sender/ //let cmd = String.raw`cd E:/work/projects2/telegram-channel-sender/
//dotnet telegram-channel-sender.dll 3 79112349232 ${args['channel_type']}`; //dotnet telegram-channel-sender.dll 3 79112349232 ${args['channel_type']}`;
var cmd = `cd /servers/constructor/htdocs/api/ && php telegram-channel-sender.dll 3 ${process.argv[2]} ${args['channel_type']}`; var cmd = `cd /servers/constructor/htdocs/api/ && php telegram-channel-sender.php 3 ${process.argv[2]} ${args['channel_type']}`;
exec(cmd, (error, stdout, stderr) => { exec(cmd, (error, stdout, stderr) => {
if (error) { if (error) {
console.error(`error: ${error.message}`); console.error(`error: ${error.message}`);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!