Subversion Repositories SmartDukaan

Rev

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

Rev 36063 Rev 36115
Line 256... Line 256...
256
        }
256
        }
257
        if (args.containsOption("stopKnowlarityMonitor")) {
257
        if (args.containsOption("stopKnowlarityMonitor")) {
258
            LOGGER.info("Stopping Knowlarity Call Monitor...");
258
            LOGGER.info("Stopping Knowlarity Call Monitor...");
259
            knowlarityCallMonitorScheduler.stopMonitoring();
259
            knowlarityCallMonitorScheduler.stopMonitoring();
260
        }
260
        }
-
 
261
        // Knowlarity - Request fresh snapshot manually (when status not updating)
-
 
262
        if (args.containsOption("refreshKnowlaritySnapshot")) {
-
 
263
            LOGGER.info("Requesting Knowlarity snapshot manually...");
-
 
264
            knowlarityCallMonitorScheduler.healthCheck();
-
 
265
            LOGGER.info("Knowlarity snapshot requested.");
-
 
266
            System.exit(0);
-
 
267
        }
261
 
268
 
262
        if (args.containsOption("removePartialBillingForTransaction")) {
269
        if (args.containsOption("removePartialBillingForTransaction")) {
263
            if (args.containsOption("trId")) {
270
            if (args.containsOption("trId")) {
264
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
271
                int transactionId = Integer.parseInt(args.getOptionValues("trId").get(0));
265
                scheduledTasks.removePartialBillingForTransaction(transactionId);
272
                scheduledTasks.removePartialBillingForTransaction(transactionId);