File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
core/src/main/java/dev/vml/es/acm/core/script Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,10 @@ private void scheduleBoot() {
208
208
209
209
@ Override
210
210
public JobResult process (Job job ) {
211
- switch (JobType .of (job .getProperty (JOB_PROP_TYPE , String .class ))) {
211
+ String jobType = job .getProperty (JOB_PROP_TYPE , String .class );
212
+ LOG .info ("Automatic scripts scheduling - job processing started (type: {})" , jobType );
213
+
214
+ switch (JobType .of (jobType )) {
212
215
case BOOT :
213
216
bootJob ();
214
217
break ;
@@ -217,6 +220,8 @@ public JobResult process(Job job) {
217
220
cronJob (scriptPath );
218
221
break ;
219
222
}
223
+
224
+ LOG .info ("Automatic scripts scheduling - job processing finished (type: {})" , jobType );
220
225
return JobResult .OK ;
221
226
}
222
227
You can’t perform that action at this time.
0 commit comments