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:
-
jid
StringThe job ID
-
startingDate
DateThe lower bound on the "created" field of the log entry
-
cb
FunctionA callback that takes two parameters: cb(Error, Array)
loadById
(
-
jid
-
cb
Retrieves the job descriptor by ID
Parameters:
-
jid
StringThe job's ID
-
cb
FunctionA callback that takes two parameters: cb(Error, Object)