-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzolinga.json
46 lines (46 loc) · 1.5 KB
/
zolinga.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "Zolinga Cron",
"version": "1.0",
"description": "A simple cron job manager",
"authors": [
"Danny Sevcik <danny@zolinga.net>"
],
"attributes": {},
"listen": [
{
"description": "Runs all the cron jobs that are due",
"event": "cron",
"class": "Zolinga\\Cron\\CronRunner",
"method": "run",
"origin": [
"cli",
"internal"
]
},
{
"description": "The $api->cron service for managing cron jobs",
"service": "cron",
"class": "Zolinga\\Cron\\CronService",
"origin": [
"internal"
]
}
],
"autoload": {
"Zolinga\\Cron\\Tests": "tests/",
"Zolinga\\Cron\\": "src/"
},
"config": {
"cron": {
"# maxConcurrentJobs": "The maximum number of Runners that can be running at once. E.g. how many siumltaneous cron jobs can be running at once.",
"maxConcurrentJobs": 3,
"# maxErrors": "The maximum number of errors that can occur before a cron job is disabled and never run again.",
"maxErrors": 3,
"# maxRuntime": "The maximum number of seconds a Runner is supposed to run. When this time is exceeded, the Runner won't run any more cron jobs and will exit. Next runner will continue with the next cron jobs.",
"maxRuntime": 60
}
},
"dependencies": [
"zolinga-db"
]
}