Ticket #135 (closed 总结: fixed)

Opened 13 years ago

Last modified 13 years ago

比价日常维护

Reported by: sunxiang Owned by: sunxiang
Priority: major Milestone:
Component: 比价 Version: 比价1.0
Keywords: 日常维护 Cc: huangzhong, chenchongqi
Due Date: 12/02/2013

Description

服务器信息

192.168.237.228:8080
192.168.237.229:8080

定时任务

主要的同步定时任务在228上,228、229有各自生成xindex索引的定时任务。

cron_priceparity_10.sh 每天一次(每天首次执行定时任务10:30)
/task/backUpPrice.jsp
/task/loadProductTypes.jsp
/task/loadProducts.jsp
/task/loadProductCriteria.jsp
/task/loadMalls.jsp
/task/loadItems.jsp
/task/updateItemToWorkTable.jsp
/task/refreshToPdlib.jsp(参数:isAll=true 或 dateFrom='yyyy-MM-dd'/'yyyy-MM-dd HH:mm:ss')

cron_priceparity_17.sh 可执行多次(目前1次 17:00)
/task/loadItems.jsp
/task/updateItemToWorkTable.jsp
/task/refreshToPdlib.jsp(参数:isAll=true 或 dateFrom='yyyy-MM-dd'/'yyyy-MM-dd HH:mm:ss')

cron_priceparity_11.sh 生成xindex索引定时任务,每次同步结束后执行
/task/xindex.jsp

删降价排行榜

先登录后台,执行 http://priceparity.pconline.com.cn/admin/del_priceoff.jsp?pids=pid,pid,pid
可以删除降价排行榜中的对应产品。

查看、删除mc缓存

先登录后台,执行 http://priceparity.pconline.com.cn/admin/mc.jsp?key=类名-id
可以查看该对象的缓存内容,再加参数&action=delete 可以删除缓存。

重新生成筛选索引文件

使用ip、端口执行/task/xindex.jsp,可以重新生成对应机器上的筛选索引文件。

Change History

comment:1 Changed 13 years ago by chenchongqi

  • Status changed from new to closed
  • Resolution set to fixed

comment:2 Changed 13 years ago by chenchongqi

本内容已经放到比价trac页

Note: See TracTickets for help on using tickets.