Subversion Repositories SmartDukaan

Rev

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

Rev 36993 Rev 37040
Line 183... Line 183...
183
        propertiesDetails.put("checkPartnerActiveStoreByStatus", "1");
183
        propertiesDetails.put("checkPartnerActiveStoreByStatus", "1");
184
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
184
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
185
 
185
 
186
    }
186
    }
187
 
187
 
-
 
188
    @Scheduled(cron = "0 30 23 * * *")
-
 
189
    public void updatePartnerActivationTypeByMonthlySale() throws Exception {
-
 
190
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
-
 
191
        propertiesDetails.put("updatePartnerActivationTypeByMonthlySale", "0");
-
 
192
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
-
 
193
 
-
 
194
        scheduledTasks.updatePartnerActivationTypeByMonthlySale();
-
 
195
 
-
 
196
        propertiesDetails.put("updatePartnerActivationTypeByMonthlySale", "1");
-
 
197
        writeToPropertiesFile.saveParamChanges(propertiesDetails, nagiosCronPropertiesFile);
-
 
198
    }
-
 
199
 
188
    // @Scheduled(cron = "0 0 8 * * *")
200
    // @Scheduled(cron = "0 0 8 * * *")
189
    public void sendStockAgeingReport() throws Throwable {
201
    public void sendStockAgeingReport() throws Throwable {
190
 
202
 
191
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
203
        LinkedHashMap<String, String> propertiesDetails = new LinkedHashMap<>();
192
        propertiesDetails.put("sendStockAgeingReport", "0");
204
        propertiesDetails.put("sendStockAgeingReport", "0");