Subversion Repositories SmartDukaan

Rev

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

Rev 24580 Rev 24592
Line 96... Line 96...
96
	@Autowired
96
	@Autowired
97
	private ScheduledTasks scheduledTasks;
97
	private ScheduledTasks scheduledTasks;
98
 
98
 
99
	@Override
99
	@Override
100
	public void run(ApplicationArguments args) throws Exception {
100
	public void run(ApplicationArguments args) throws Exception {
-
 
101
		
101
		LOGGER.info("Called run method");
102
		LOGGER.info("Called run method");
-
 
103
		try {
-
 
104
			scheduledTasks.dryRunSchemeReco();
-
 
105
		} catch (Exception e) {
-
 
106
			e.printStackTrace();
-
 
107
		}
-
 
108
		System.exit(0);
102
		if (args.containsOption("once")) {
109
		if (args.containsOption("once")) {
103
			if (args.containsOption("1")) {
110
			if (args.containsOption("1")) {
104
				if(args.containsOption("test")) {
111
				if(args.containsOption("test")) {
105
					scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
112
					scheduledTasks.sendPartnerInvestmentDetails(args.getOptionValues("email"));
106
				} else {
113
				} else {