id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	due_date
98	商城postgresql版本定时任务	chenchongqi	huangzhong	"* 数据库端定时任务
15 0 * * *  /usr/local/pgsql/crontab/app/sync_cyp_table_daily.sh >>/usr/local/pgsql/crontab/app/sync_cyp_table_daily.log 2>&1 
#######   refresh  cyp table  4 times one day  by lsliang  2012-6-14  
30 9,12,16,21 * * * /usr/local/pgsql/crontab/app/refresh_cyp_table.sh >>/usr/local/pgsql/crontab/app/refresh_cyp_table.log 2>&1 
###  refresh  pp_ad and pdl_ad  from oracle every  15min by lsliang 2012-6-14 
*/2 * * * * /usr/local/pgsql/crontab/app/sync_cyp_table_quarter.sh >>/usr/local/pgsql/crontab/app/sync_cyp_table_quarter.log 2>&1 

* 应用端
#商城前台3台服务器
#百度sitemap，seo需求，每天一次 @2012.04.18 by 廖俊强
1 8 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/task/create_news_xml.jsp?pageSize=10000&pageNum=1&fileNum=8"" >/dev/null 2>&1

#产品增量索引，每30分钟一次
3-59/30 7-23 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=product&type=2&indexFileName=/data/m.pconline/eyp_index/product"" >/dev/null 2>&1

#店铺增量索引，每15分钟一次
*/15 7-23 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=shop&type=2&indexFileName=/data/m.pconline/eyp_index/shop/"" >/dev/null 2>&1

#商城前台3台服务器同步239.96的索引文件,4:30同步，同步完之后重启服务器(重新加载索引文件)




#商城eyp后台
#检查服务是否全部审核通过，5分钟一次
*/5 * * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/CheckRequestReviewStatus >/dev/null 2>&1

#执行服务全部审核通过的服务，停止到期服务，计划15分钟一次，和上一个任务的时间错开
2-57/5 * * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/BatchRequestExecutor >/dev/null 2>&1

#自动重新设定错误服务 ，4小时执行一次
2 */4 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/BatchAutoResetErrorRequest >/dev/null 2>&1

#建产品和产品2全量索引之前先执行的定时任务,1点执行
0 1 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/task/create_product_index_temp.jsp"" >/dev/null 2>&1
#产品全量索引，每天一次
45 1 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=product&type=1&indexFileName=/data/m.pconline/eyp_index/product"" >/dev/null 2>&1
#产品2全量索引，每天一次
30 2 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=product2&indexFileName=/data/m.pconline/eyp_index/product2"" >/dev/null 2>&1
#店铺全量索引，每天一次
55 2 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=shop&type=1&indexFileName=/data/m.pconline/eyp_index/shop/"" >/dev/null 2>&1
#VIP店铺全量索引，每天一次
30 3 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=vipShop&type=1&indexFileName=/data/m.pconline/eyp_index/vipShop/"" >/dev/null 2>&1
#旗舰店商品的产品索引 @2012.1.12
0 4 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/servlet/BuildIndex?target=fssProduct&indexFileName=/data/m.pconline/eyp_index/fssProduct/"" >/dev/null 2>&1

#更新产品库数据,执行groovy脚本
5 3 * * * sync_pdl_product.groovy

#对不是马上有效的充值卡充值到用户帐号，每天凌晨一次
3 1 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/ProcessCardcharge >/dev/null 2>&1

#计算公司VIP情况，计划是每天一次
2 4,12,19 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/CheckCompanyServiceVIP >/dev/null 2>&1

#计算公司排名，计划是每天一次
20 7 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/CalCompanyActiveRank >/dev/null 2>&1

#处理过期商情 ，每天一次
3 23 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/ProcessOvertimeNews >/dev/null 2>&1

#处理过期商家价格，每天一次
33 4 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/ProcessOvertimePrice >/dev/null 2>&1

#自动删除一个星期前没有被通过的请求,每天一次
52 4 * * * wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/ProcessInvalidRequest >/dev/null 2>&1

# 每周四一次
12 5 * * 4 wget -S --no-proxy --spider -t 1 -T 30  http://localhost:8082/servlet/UpdateProductMarketPrice >/dev/null 2>&1

# 有个增值的新功能提供给商家,不过限制每天只能使用5次,所以每天要重置一次 by 建中
43 5 * * * wget -S --no-proxy --spider -t 1 -T 90 http://localhost:8082/servlet/UpdateUser >/dev/null 2>&1

# 产品价更新到商城商品指导价
12 6 * * * wget -S --spider -t 1 -T 30  http://localhost:8082/task/update_market_price.jsp >/dev/null 2>&1

# 经销商主页-->跑最新渠道消息的页面缓存 by 陈寅乐 @2010.7.27
32 6,12,17 * * * wget -S --spider -t 1 -T 30  http://localhost:8082/task/update_news_hot.jsp >/dev/null 2>&1

#商库的广告请求处理 by 陈寅乐 @2010.10.26
1-59/15 * * * * wget -S --spider -t 1 -T 30  http://localhost:8082/task/local_request_status_handle.jsp >/dev/null 2>&1

#每周日，凌晨7点
2 7 * * 7 wget --spider -t 1 -T 30 ""http://eyp-admin.pconline.com.cn:8296/task/update_company_year_limit.jsp"" >/dev/null 2>&1

#处理完成状态的并且7天都没有评价的订单，每天凌晨跑一次: 只需一台执行
3 3 * * * wget --spider -t 1 -T 30 http://localhost:8082/servlet/BatchOrderRate >/dev/null 2>&1

#商品相关的旧数据清理 @2011.11.8 cyl
32 22 * * * wget --spider -t 1 -T 30 ""http://localhost:8082/task/delete_useless_product_record.jsp?delLimitCount=15000&delDate=2012-09-20"" >/dev/null 2>&1
"	task	closed	major	2012年6.0版本	商家后台	6.0	fixed	数据库迁移 定时任务		05/07/2012
