Subversion Repositories SmartDukaan

Rev

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

Rev 34836 Rev 34904
Line 193... Line 193...
193
        propertiesDetails.put("alertTicketToUser", "1");
193
        propertiesDetails.put("alertTicketToUser", "1");
194
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
194
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
195
 
195
 
196
    }
196
    }
197
 
197
 
198
    @Scheduled(cron = "0 0 14,18,23 ? * *")
198
    //@Scheduled(cron = "0 0 14,18,23 ? * *")
199
    public void dailySaleNotification() throws Exception {
199
    public void dailySaleNotification() throws Exception {
200
        log.info("daily send Notification");
200
        log.info("daily send Notification");
201
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
201
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
202
        propertiesDetails.put("dailySaleNotification", "0");
202
        propertiesDetails.put("dailySaleNotification", "0");
203
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
203
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);