Subversion Repositories SmartDukaan

Rev

Rev 36115 | Rev 36188 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36115 Rev 36187
Line 1164... Line 1164...
1164
                 * && Arrays.asList(20,21,22,23).contains(localDateTime.getHour())) {
1164
                 * && Arrays.asList(20,21,22,23).contains(localDateTime.getHour())) {
1165
                 * scheduledTasks.sendCreditNote(yearMonth); }
1165
                 * scheduledTasks.sendCreditNote(yearMonth); }
1166
                 */
1166
                 */
1167
                scheduledTasks.sendCreditNote(yearMonth);
1167
                scheduledTasks.sendCreditNote(yearMonth);
1168
            }
1168
            }
-
 
1169
            if (args.containsOption("rerenderCNs")) {
-
 
1170
                YearMonth yearMonth = YearMonth.now().minusMonths(1);
-
 
1171
                System.out.println("Re-rendering CNs for " + yearMonth);
-
 
1172
                scheduledTasks.rerenderCNs(yearMonth);
-
 
1173
            }
1169
            System.exit(0);
1174
            System.exit(0);
1170
        }
1175
        }
1171
    }
1176
    }
1172
}
1177
}
1173
1178