Subversion Repositories SmartDukaan

Rev

Rev 37848 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37848 Rev 37895
Line 607... Line 607...
607
    public void sendFeebackSalesAndRbm() throws Throwable {
607
    public void sendFeebackSalesAndRbm() throws Throwable {
608
        scheduledTasksTest.sendRbmFeedbackSummaryEmail();
608
        scheduledTasksTest.sendRbmFeedbackSummaryEmail();
609
        scheduledTasksTest.sendSalesFeedbackSummaryEmail();
609
        scheduledTasksTest.sendSalesFeedbackSummaryEmail();
610
    }
610
    }
611
 
611
 
-
 
612
    // Monthly RBM composite ranking — fires at 23:30 on days 28/29/30/31 but
-
 
613
    // only executes on the actual last day of the month (handles Feb and
-
 
614
    // 30-day months without adding a leap-year calendar).
-
 
615
    @Scheduled(cron = "0 30 23 28-31 * *")
-
 
616
    public void sendMonthlyRbmRankingProbe() throws Throwable {
-
 
617
        LocalDate today = LocalDate.now();
-
 
618
        if (today.getDayOfMonth() != today.lengthOfMonth()) return;
-
 
619
        runOnceTasks.printRbmRankingForMonth(YearMonth.from(today));
-
 
620
    }
-
 
621
 
612
    //Look out for imeis that have activation pending based of sale and mark create new SIO out of them
622
    //Look out for imeis that have activation pending based of sale and mark create new SIO out of them
613
    @Scheduled(cron = "0 0 1 * * *")
623
    @Scheduled(cron = "0 0 1 * * *")
614
    public void processActivatedImeisForSchemes() throws Throwable {
624
    public void processActivatedImeisForSchemes() throws Throwable {
615
        scheduledTasks.processActivatedImeisForSchemes();
625
        scheduledTasks.processActivatedImeisForSchemes();
616
    }
626
    }