Subversion Repositories SmartDukaan

Rev

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

Rev 37258 Rev 37292
Line 79... Line 79...
79
        propertiesDetails.put("processDailySchemes", "1");
79
        propertiesDetails.put("processDailySchemes", "1");
80
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
80
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
81
 
81
 
82
    }
82
    }
83
 
83
 
84
    /** Daily 00:20: start/expire hot-deal windows in tag_listing.hot_deals (Solr source). */
84
    /** Daily 00:20: re-index models whose hot-deal window opened today or closed yesterday. */
85
    @Scheduled(cron = "0 20 0 * * *")
85
    @Scheduled(cron = "0 20 0 * * *")
86
    public void syncHotDealFlags() throws Exception {
86
    public void syncHotDealFlags() throws Exception {
87
        try {
87
        try {
88
            scheduledTasks.syncHotDealFlags();
88
            scheduledTasks.syncHotDealFlags();
89
        } catch (Exception e) {
89
        } catch (Exception e) {