Get all Scheduled Jobs
The Scheduler provider allows you to retrieve the IDs for all existing scheduled jobs. size is the page size you want to be returned to you. The response will contain a cursor if there are more schedulers to fetch. You can call the function again using the cursor parameter to page through your schedulers.
Method Signature
Copy
list(size?: number, cursor?: string)
Getting all Scheduled Jobs
Copy
const session = vcr.createSession();
const scheduler = new Scheduler(session);
const scheduledJobIDs = await scheduler.list();
Copy
session = vcr.createSession()
scheduler = Scheduler(session)
scheduledJobIDs = await scheduler.list()