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 committed 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
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.