
V3.3补充说明 所有服务器操作

一、svn更新文件 

二、初始化操作（给customer相关表加索引） (初始化完还原初始化文件)

三、运行命令：    psql -U postgres postgres < /opt/lampp/xiaoa/trunk/database/status_counts_init.sql

四、修改定时任务命令路径   /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan schedule:run >> /dev/null 2>&1





#统计初始化 10月8号2点10分 更新晚上第二天时间
10 2 7 11 * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsHoursBinit

10 3 7 11 * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsDaysBinit

30 4 7 11 * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsAreaCodeBinit

#每晚统计数
1 2 * * * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsHours

1 3 * * * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsDays

1 4 * * * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsAreaCode

1 5 * * * /opt/lampp/bin/php /opt/lampp/htdocs/artisan command:SyncCountsReals












#统计初始化 10月8号2点10分 更新晚上第二天时间
10 2 21 11 * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsHoursBinit

10 3 21 11 * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsDaysBinit

30 4 21 11 * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsAreaCodeBinit

#每晚统计数
1 2 * * * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsHours

1 3 * * * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsDays

1 4 * * * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsAreaCode

1 5 * * * /opt/lampp/bin/php /opt/lampp/xiaoa/trunk/artisan command:SyncCountsReals



