0.3.34 • Published 10 years ago
icg-cron-service-manager v0.3.34
ICG Cron Service Manager
Required Configuration
The following configuration elements are required:
config: {
apiBaseUrl: "http://localhost:3000",
sessionPath: "ap/sessions",
credentials: {
user: "USER"
password: "SECRET"
}
job: [...]
}
Job Configuration
config: {
jobs: [
cron:"* 5 * * * * *",
job: {
name:"Do Something",
script: "./job-assignment"
}
]
}
Workers
Workers are exported functions that accept 3 parameters, job options, a config object and a callback. Note: Workers must call the callback or subsequent runs will be aborted. This is to prevent two jobs from overlapping.
0.3.34
10 years ago
0.3.30
10 years ago
0.3.26
10 years ago
0.3.25
10 years ago
0.3.24
10 years ago
0.3.23
10 years ago
0.3.22
10 years ago
0.3.20
10 years ago
0.3.11
10 years ago
0.3.10
10 years ago
0.3.9
10 years ago
0.3.8
10 years ago
0.3.7
10 years ago
0.3.6
10 years ago
0.3.5
10 years ago
0.3.4
10 years ago
0.3.3
10 years ago
0.3.2
10 years ago
0.3.1
10 years ago
0.3.0
10 years ago
0.2.9
10 years ago
0.2.7
10 years ago
0.2.6
10 years ago
0.2.5
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.1
10 years ago
0.2.0
10 years ago