Jobs

Server.Modules. Jobs

# new Jobs(coreObj) → {Server.Modules.Jobs}

This is the Jobs Module of the Blackrock Application Server. It provides tools to setup and monitor scheduled or recurring jobs from within the app on the application server.

Parameters:
Name Type Description
coreObj Server.Modules.Core

The Core Object Singleton

Author:
  • Darren Smith
License:
  • Licensed under the LGPL license.
Returns:

module - The Jobs Module Singleton

Type
Server.Modules.Jobs
Example
const jobsModule = core.module('jobs');

Extends

Methods

# (static) add(definition, fn, input)

Tbc...

Parameters:
Name Type Description
definition *

Definition

fn function

Job Function to Execute

input *

Input

Example
Tbc...

# (static) remove(id)

Tbc...

Parameters:
Name Type Description
id string

Job Identifier

Example
Tbc...