Subversion Repositories SmartDukaan

Rev

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

Rev 5297 Rev 5338
Line 168... Line 168...
168
    echo ${LATEST_TIMESTAMP} > /catalog-dumps/current.timestamp
168
    echo ${LATEST_TIMESTAMP} > /catalog-dumps/current.timestamp
169
    echo "INVALID" > /catalog-dumps/previous.timestamp
169
    echo "INVALID" > /catalog-dumps/previous.timestamp
170
fi
170
fi
171
 
171
 
172
 
172
 
173
echo "Restarting the catalog service and tomcat to clear the cache"
173
echo "Restarting the tomcat to clear the cache"
174
echo "======================================================="
174
echo "======================================================="
-
 
175
cd /usr/local/lib/python2.6/dist-packages/PyProj-0.1-py2.6.egg;
175
/etc/init.d/catalog-server restart
176
./shop2020/model/v1/catalog/script/ClearItemAvailabilityCache.py
176
/etc/init.d/tomcat6 restart
177
/etc/init.d/tomcat6 restart
177
echo "======================================================="
178
echo "======================================================="
178
echo "Restarted the catalog service and tomcat to clear the cache"
179
echo "Restarted the tomcat to clear the cache"
179
 
180
 
180
 
181
 
181
if [ $STATUS -ne 0 ]
182
if [ $STATUS -ne 0 ]
182
then
183
then
183
	exit 1
184
	exit 1