Subversion Repositories SmartDukaan

Rev

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

Rev 3929 Rev 3930
Line 168... Line 168...
168
            } catch (Exception e) {
168
            } catch (Exception e) {
169
                log.error("Error updating prices", e);
169
                log.error("Error updating prices", e);
170
            }
170
            }
171
        }
171
        }
172
 
172
 
173
//        GmailUtils gm = new GmailUtils();
173
        GmailUtils gm = new GmailUtils();
174
//        String[] sendTo = { "chandranshu.s@shop2020.in",
174
        String[] sendTo = { "chandranshu.s@shop2020.in",
175
//                "rajveer.singh@shop2020.in", "mandeep.dhir@shop2020.in" };
175
                "rajveer.singh@shop2020.in", "mandeep.dhir@shop2020.in" };
176
//
176
 
177
//        try {
177
        try {
178
//            gm.sendSSLMessage(sendTo, "Content Generation Successful ? : "
178
            gm.sendSSLMessage(sendTo, "Content Generation Successful ? : "
179
//                    + isSuccess, "Content generation completed at time : "
179
                    + isSuccess, "Content generation completed at time : "
180
//                    + Calendar.getInstance().getTime().toString(),
180
                    + Calendar.getInstance().getTime().toString(),
181
//                    "build@shop2020.in", "shop2020", logfile);
181
                    "build@shop2020.in", "shop2020", logfile);
182
//        } catch (MessagingException e) {
182
        } catch (MessagingException e) {
183
//            log.error("Could not send status mail", e);
183
            log.error("Could not send status mail", e);
184
//        }
184
        }
185
    }
185
    }
186
 
186
 
187
    public boolean cleanDir(File dir, boolean deleteSelf) {
187
    public boolean cleanDir(File dir, boolean deleteSelf) {
188
        if (dir.isDirectory()) {
188
        if (dir.isDirectory()) {
189
            String[] children = dir.list();
189
            String[] children = dir.list();