Subversion Repositories SmartDukaan

Rev

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

Rev 33640 Rev 33643
Line 258... Line 258...
258
        propertiesDetails.put("checkRazorPayPaymentStatus", "1");
258
        propertiesDetails.put("checkRazorPayPaymentStatus", "1");
259
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
259
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
260
 
260
 
261
    }
261
    }
262
 
262
 
263
    //@Scheduled(fixedDelay = 2*1000)
263
    @Scheduled(fixedDelay = 2*1000)
264
    //@Scheduled(cron = "0 5 23 * * *")
264
    //@Scheduled(cron = "0 5 23 * * *")
265
    public void updateIrnsToInvoices() throws Throwable {
265
    public void updateIrnsToInvoices() throws Throwable {
266
        runOnceTasks.updateIrnsToInvoices();
266
        runOnceTasks.updateIrnsToInvoices();
267
    }
267
    }
268
 
268
 
Line 725... Line 725...
725
    }
725
    }
726
 
726
 
727
    @Autowired
727
    @Autowired
728
    POScheduler poScheduler;
728
    POScheduler poScheduler;
729
    @Scheduled(cron = "0 0 1 * * *")
729
    @Scheduled(cron = "0 0 1 * * *")
730
    public void autoClosePO() throws Throwable {
730
    public void autoClosePO() {
731
        poScheduler.autoClosePurchaseOrders();
731
        poScheduler.autoClosePurchaseOrders();
732
    }
732
    }
733
    /*
733
    /*
734
     * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
734
     * @Scheduled(cron = "0 0 9 * * *") public void onBoardingDocumentsPending()
735
     * throws Throwable { log.info("startTime" + LocalDateTime.now());
735
     * throws Throwable { log.info("startTime" + LocalDateTime.now());