Fixed gitignore

This commit is contained in:
Dunemask 2022-07-18 21:43:10 +00:00
parent 338000684b
commit 61072ee032
16 changed files with 721 additions and 1 deletions

9
lib/jobs/job-executor.js Normal file
View file

@ -0,0 +1,9 @@
import Executor from "../sockets/clients/Executor.js";
const args = process.argv.slice(2);
const url = args[0];
const jobId = args[1];
const command = args.slice(2);
const job = { id: jobId, command };
const exec = new Executor(url, job, command);
exec.runJob();