Skip to content

Commit 7dd4f92

Browse files
Debug
1 parent 61d778c commit 7dd4f92

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

core/src/main/java/dev/vml/es/acm/core/script/ScriptScheduler.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,10 @@ private void scheduleBoot() {
208208

209209
@Override
210210
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)) {
212215
case BOOT:
213216
bootJob();
214217
break;
@@ -217,6 +220,8 @@ public JobResult process(Job job) {
217220
cronJob(scriptPath);
218221
break;
219222
}
223+
224+
LOG.info("Automatic scripts scheduling - job processing finished (type: {})", jobType);
220225
return JobResult.OK;
221226
}
222227

0 commit comments

Comments
 (0)