JobService Class
Provides the ability to interact with jobs that have already been created.
Constructor
JobService
()
Methods
getLogs
(
-
jid -
startingDate -
cb
Retrieves the log entries for the specified job from the start date up until the current time.
Parameters:
-
jidStringThe job ID
-
startingDateDateThe lower bound on the "created" field of the log entry
-
cbFunctionA callback that takes two parameters: cb(Error, Array)
loadById
(
-
jid -
cb
Retrieves the job descriptor by ID
Parameters:
-
jidStringThe job's ID
-
cbFunctionA callback that takes two parameters: cb(Error, Object)
