* Only log runnable cron jobs if debug = true
This commit is contained in:
parent
34b1a8641a
commit
d4ac3d2726
1 changed files with 3 additions and 1 deletions
|
@ -1598,7 +1598,9 @@ public final class Application implements IPathElement, Runnable {
|
|||
jobs.addAll(customCronJobs.values());
|
||||
CronJob.sort(jobs);
|
||||
|
||||
if (debug) {
|
||||
logEvent("Running cron jobs: " + jobs);
|
||||
}
|
||||
if (!activeCronJobs.isEmpty()) {
|
||||
logEvent("Cron jobs still running from last minute: " + activeCronJobs);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue