0
List Suspended Jobs
One script reply has been approved by the moderators Verified

List Queued jobs that are currently suspended

Created by admin 466 days ago Viewed 3904 times
0
Submitted by admin Deno
Verified 466 days ago
1
import * as wmill from "https://deno.land/x/windmill@v1.85.0/mod.ts";
2

3
export async function main(scriptPathExact?: string) {
4
  return wmill.JobService.listQueue({
5
    workspace: wmill.getWorkspace(),
6
    suspend: true,
7
    perPage: 50,
8
    scriptPathExact,
9
  });
10
}
11