Subversion Repositories SmartDukaan

Rev

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

Rev 31755 Rev 32008
Line 176... Line 176...
176
    @Autowired
176
    @Autowired
177
    CaptchaService captchaService;
177
    CaptchaService captchaService;
178
 
178
 
179
    @Override
179
    @Override
180
    public void run(ApplicationArguments args) throws Exception {
180
    public void run(ApplicationArguments args) throws Exception {
-
 
181
        //scheduledTasks.test();
-
 
182
        //System.exit();
181
        LOGGER.info("Called run method");
183
        LOGGER.info("Called run method");
182
        if (args.containsOption("tc")) {
184
        if (args.containsOption("tc")) {
183
            System.out.println("Toffee service called");
185
            System.out.println("Toffee service called");
184
            scheduledTasks.toffeeRollback();
186
            scheduledTasks.toffeeRollback();
185
            System.exit(0);
187
            System.exit(0);
Line 469... Line 471...
469
            if (args.containsOption("1")) {
471
            if (args.containsOption("1")) {
470
                if (args.containsOption("test")) {
472
                if (args.containsOption("test")) {
471
                    //scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
473
                    //scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
472
                    System.out.println("Calling test method");
474
                    System.out.println("Calling test method");
473
                    scheduledTasks.test();
475
                    scheduledTasks.test();
-
 
476
                } else if(args.containsOption("test1")) {
-
 
477
                    scheduledTasks.test1();
474
                } else {
478
                }else {
475
                    System.out.println("Called sendPartnerInvestmentDetails");
479
                    System.out.println("Called sendPartnerInvestmentDetails");
476
                    scheduledTasks.sendPartnerInvestmentDetails();
480
                    scheduledTasks.sendPartnerInvestmentDetails();
477
                }
481
                }
478
                System.exit(0);
482
                System.exit(0);
479
            }
483
            }