import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(schedule_path: string, enabled: boolean) {
const conf = wmill.createConf();
const schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
}
);
}
Submitted by hugo697 303 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(schedule_path: string, enabled: boolean) {
const conf = wmill.createConf();
const schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
}
);
}
Submitted by hugo697 864 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(schedule_path: string, enabled: boolean) {
const conf = wmill.createConf();
const schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
},
);
}
Submitted by admin 935 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
schedule_path: string,
enabled: boolean,
) {
let conf = wmill.createConf();
let schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
},
);
}
Submitted by adam186 1067 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
schedule_path: string,
enabled: boolean,
) {
let conf = wmill.createConf();
let schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
},
);
}
Submitted by adam186 1101 days ago
import * as wmill from "https://deno.land/x/[email protected]/mod.ts";
export async function main(
schedule_path: string,
enabled: boolean,
) {
let conf = wmill.createConf();
let schedule_api = new wmill.ScheduleApi(conf);
return await schedule_api.setScheduleEnabled(
conf.workspace_id,
schedule_path,
{
enabled,
},
);
}
Submitted by admin 1295 days ago