import * as wmill from "https://deno.land/x/windmill@v1.85.0/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 408 days ago
import * as wmill from "https://deno.land/x/windmill@v1.85.0/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 480 days ago
import * as wmill from "https://deno.land/x/windmill@v1.85.0/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 611 days ago
import * as wmill from "https://deno.land/x/windmill@v1.70.1/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 646 days ago
import * as wmill from "https://deno.land/x/windmill@v1.31.0/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 839 days ago