Updated Core

This commit is contained in:
Dunemask 2022-05-07 13:44:54 +00:00
parent 8b136eb565
commit 88ebfe4da2
25 changed files with 5678 additions and 1932 deletions

View file

@ -11,12 +11,14 @@ const url = "https://Qualiteer.elijahparker3.repl.co";
// Create an initiator and make a job request
const primary = new Initiator(url);
const job = { command: "ls -la" };
const job = { command: ["node", "dev/other.js"], name: "testing", image: "node" };
await primary.newJob(job, null, () => console.log("Primary Job Concluded"));
const { clients } = qltr.jobs;
/*const { clients } = qltr.jobs;
const skId = Object.keys(clients)[0];
const { jobs } = clients[skId];
const serverJob = jobs[0];
const exec = new Executor(url, serverJob);
exec.runJob();
*/