Subversion Repositories SmartDukaan

Rev

Rev 3934 | Rev 10392 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3276 chandransh 1
#!/bin/bash
2
 
10391 amit.gupta 3
if [ $STATUS_CATALOG_GENERATION -eq 1 ]; then
4
	sendEmail -f build@shop2020.in -t eng@shop2020.in -u "Imp: COULDNT PUSHED NEW CONTENT" -s smtp.gmail.com:587  -xu build@shop2020.in  -xp cafe@nes -o tls=yes -m "Thanks" 
5
	exit 1
6
 
7
fi 
3276 chandransh 8
if [ -z ${DATE}  ]
9
then
10
	DATE=`date -d '2 day ago' +"%Y-%b-%d"`
11
fi
12
 
13
if [ -z ${EXPORT_PATH} ]
14
then
15
	EXPORT_PATH="/var/lib/tomcat6/webapps/export"
16
fi
17
 
3934 mandeep.dh 18
rm -rf ${EXPORT_PATH}/helpdocs-${DATE}* ${EXPORT_PATH}/javascripts-${DATE}* ${EXPORT_PATH}/partners-${DATE}* ${EXPORT_PATH}/solr-${DATE}* ${EXPORT_PATH}/html/entities-${DATE}*
3276 chandransh 19