Subversion Repositories SmartDukaan

Rev

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

Rev 34253 Rev 34255
Line 506... Line 506...
506
    PurSaleService purSaleService;
506
    PurSaleService purSaleService;
507
 
507
 
508
    @Scheduled(cron = "0 0 10,19 * * ?")
508
    @Scheduled(cron = "0 0 10,19 * * ?")
509
    public void send10DaysEgedStockReport() throws Throwable {
509
    public void send10DaysEgedStockReport() throws Throwable {
510
        log.info("send10DaysEgedStockReport startTime" + LocalDateTime.now());
510
        log.info("send10DaysEgedStockReport startTime" + LocalDateTime.now());
511
        purSaleService.sendPursaleRatioReportOnMail();
511
        purSaleService.sendPurSaleRatioReportOnMail();
512
        log.info("send10DaysEgedStockReport endTime" + LocalDateTime.now());
512
        log.info("send10DaysEgedStockReport endTime" + LocalDateTime.now());
513
    }
513
    }
514
 
514
 
515
    @Scheduled(fixedDelay = 30 * 60 * 1000, initialDelay = 15 * 60 * 1000)
515
    @Scheduled(fixedDelay = 30 * 60 * 1000, initialDelay = 15 * 60 * 1000)
516
    public void fetchPartnerStat() throws Throwable {
516
    public void fetchPartnerStat() throws Throwable {