Home Manual Reference Source
public class | source

Cron

Extends:

src/mapping/core.js~Service → Cron

User API for the Scheduler

User endpoints for scheduling : users can schedule, list and delete tasks. Tasks are stored on a per-user basis: a task will run with the priviledges of the user who stored it. Tasks are run on the server and thus can call api verbs marked as server-only.

Static Member Summary

Static Public Members
public static get

Get default deployment id associated to Cron service

Method Summary

Public Methods
public

list(objectPattern: {"start": *, "stop": *, "owner": *, "page": *}): *

List the configured tasks

Static Public Members

public static get DEFAULT_DEPLOYMENT_ID: string: string source

Get default deployment id associated to Cron service

Return:

string

Public Methods

public list(objectPattern: {"start": *, "stop": *, "owner": *, "page": *}): * source

List the configured tasks

Returns a paginated list of the asking user's tasks.

Params:

NameTypeAttributeDescription
objectPattern {"start": *, "stop": *, "owner": *, "page": *}
  • default: {"start":null,"stop":null,"owner":null,"page":null}

Return:

*