# 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 |
- Copyright:
- Copyright (c) 2021 Darren Smith
- License:
- Licensed under the LGPL license.
- Source:
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 |
- Source:
Example
Tbc...
# (static) remove(id)
Tbc...
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Job Identifier |
- Source:
Example
Tbc...