Skip to content

Commit

Permalink
Merge pull request #1220 from flybyray/lighthouse-2154-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
xael-fry authored Feb 28, 2018
2 parents 913a5c6 + f473f9a commit 71874ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/src/play/jobs/JobsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public static <V> void scheduleForCRON(Job<V> job) {
}
String cron = job.getClass().getAnnotation(On.class).value();
if (cron.startsWith("cron.")) {
cron = Play.configuration.getProperty(cron);
cron = Play.configuration.getProperty(cron, "");
}
cron = Expression.evaluate(cron, cron).toString();
if (cron == null || cron.isEmpty() || "never".equalsIgnoreCase(cron)) {
Expand Down

0 comments on commit 71874ce

Please sign in to comment.