updated folder structure
This commit is contained in:
47
alert-scheduler/config/runCfg.json
Normal file
47
alert-scheduler/config/runCfg.json
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
"_comment_jobs": "JobTypes can be: cyclic, minutely, daily, weekly, once",
|
||||
"_comment_jobFunctions": "JobFunctions can be: printScheduler, generateOnePMTTechRoadmap",
|
||||
"jobs": [
|
||||
{
|
||||
"jobName": "Print schedule",
|
||||
"jobType": "cyclic",
|
||||
"jobFunction": "printScheduler",
|
||||
"dtTimeDelta": {
|
||||
"minutes": 15
|
||||
}
|
||||
},
|
||||
{
|
||||
"jobName": "Example to show all possible scheduling options...",
|
||||
"jobType": "once",
|
||||
"jobFunction": "foo",
|
||||
"dtTime": {
|
||||
"_comment": "for minutely,hourly,daily,weekly & once jobs....",
|
||||
"second": 0,
|
||||
"minute": 0,
|
||||
"hour": 0,
|
||||
"dayOfWeek": [
|
||||
"Monday",
|
||||
"Tuesday",
|
||||
"Wednesday",
|
||||
"Thursday",
|
||||
"Friday",
|
||||
"Saturday",
|
||||
"Sunday"
|
||||
]
|
||||
},
|
||||
"dtTimeDelta": {
|
||||
"_comment": "for cyclic & once jobs, in x minutes....",
|
||||
"minutes": 0
|
||||
},
|
||||
"dtDateTime": {
|
||||
"_comment": "for once jobs, at point in time....",
|
||||
"year": 2022,
|
||||
"month": 1,
|
||||
"day": 1,
|
||||
"hour": 0,
|
||||
"minute": 0
|
||||
}
|
||||
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user