Description
レイドイベント報酬の配布
レイド報酬
1-25 水の乙女オンディーヌ(45)x3,伝説の魂x5
26-50 水の乙女オンディーヌ(45)x2,伝説の魂x3
51-100 水の乙女オンディーヌ(45)x1,伝説の魂x1
101-500 水の乙女オンディーヌ(45)x1# 報酬配布
(実行前に$debug_flgを0に設定)
cd /jr-yamada/lib/exec/
vi tool_event_raid_present.inc
ENVIRONMENT=production PF=yamada php ./tool_event_raid_present.inc
# ポイント集計
ENVIRONMENT=production PF=yamada php ./tool_event_raid_point.incリリース作業
# データベースの初期化
/更新
UPDATE team_data SET event_info = 0,event_info2 = 50,event_info3 = 0 WHERE `del_flg` = 0;
truncate table user_event_new_island
/確認
SELECT `team_no` , `event_info` , `event_info2` , `event_info3` FROM `team_data` WHERE `del_flg` = 0;
SELECT * FROM `user_event_new_island`
# masterブランチにdevelopブランチをマージ
git checkout develop
git pull
git checkout master
git pull
git merge origin/develop
git push
# 本番環境に反映
ssh jr-adm
update web
deploy web
# バッチファイルの設定
crontab -e
6,16,26,36,46,56 * * * * ENVIRONMENT=${JR_ENV} PF=yamada ${JR_DIR}/lib/exec/event_ranking_event_island.sh //イベントランキング