API Docs for: 0.8.0
Show:

JobService Class

Provides the ability to interact with jobs that have already been created.

Constructor

Item Index

Methods

Methods

getLogs

(
  • jid
  • startingDate
  • cb
)

Retrieves the log entries for the specified job from the start date up until the current time.

Parameters:

  • jid String

    The job ID

  • startingDate Date

    The lower bound on the "created" field of the log entry

  • cb Function

    A callback that takes two parameters: cb(Error, Array)

loadById

(
  • jid
  • cb
)

Retrieves the job descriptor by ID

Parameters:

  • jid String

    The job's ID

  • cb Function

    A callback that takes two parameters: cb(Error, Object)