dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #16312
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6187: Adjusted cron expression for scheduled tasks
------------------------------------------------------------
revno: 6187
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-03-06 10:27:38 +0100
message:
Adjusted cron expression for scheduled tasks
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/scheduling/Scheduler.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/scheduling/Scheduler.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/scheduling/Scheduler.java 2011-12-26 10:07:59 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/scheduling/Scheduler.java 2012-03-06 09:27:38 +0000
@@ -34,8 +34,8 @@
{
final String CRON_DAILY_0AM = "0 0 0 * * ?";
final String CRON_DAILY_1AM = "0 0 1 * * ?";
- final String CRON_DAILY_0AM_EXCEPT_SUNDAY = "0 0 0 ? * 2-7";
- final String CRON_WEEKLY_SUNDAY_0AM = "0 0 0 ? * 1";
+ final String CRON_DAILY_0AM_EXCEPT_SUNDAY = "0 0 0 ? * 1-6";
+ final String CRON_WEEKLY_SUNDAY_0AM = "0 0 0 ? * 0";
final String CRON_TEST = "0 * * * * ?";
final String STATUS_RUNNING = "running";