Subversion Repositories SmartDukaan

Rev

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

Rev 31612 Rev 31618
Line 41... Line 41...
41
import java.util.Properties;
41
import java.util.Properties;
42
import java.util.stream.Collectors;
42
import java.util.stream.Collectors;
43
 
43
 
44
@SpringBootApplication
44
@SpringBootApplication
45
//@EnableCaching
45
//@EnableCaching
46
//@EnableScheduling
46
@EnableScheduling
47
@ComponentScan("com.smartdukaan.cron.*, com.spice.profitmandi.common.*")
47
@ComponentScan("com.smartdukaan.cron.*, com.spice.profitmandi.common.*")
48
public class Application implements ApplicationRunner {
48
public class Application implements ApplicationRunner {
49
 
49
 
50
	private static final Logger LOGGER = LogManager.getLogger(Application.class);
50
	private static final Logger LOGGER = LogManager.getLogger(Application.class);
51
 
51
 
Line 487... Line 487...
487
				}
487
				}
488
 
488
 
489
			}
489
			}
490
			if (args.containsOption("1")) {
490
			if (args.containsOption("1")) {
491
				if (args.containsOption("test")) {
491
				if (args.containsOption("test")) {
492
					scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
492
                    //scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
-
 
493
                    scheduledTasks.test();
493
				} else {
494
				} else {
494
					System.out.println("Called sendPartnerInvestmentDetails");
495
					System.out.println("Called sendPartnerInvestmentDetails");
495
					scheduledTasks.sendPartnerInvestmentDetails();
496
					scheduledTasks.sendPartnerInvestmentDetails();
496
				}
497
				}
497
				System.exit(0);
498
				System.exit(0);