PR

ゲソてん集計対応 #4286

wada opened this at 2025-09-27T17:29:31; closed

Description

opened by wada at 2025-09-27T17:29:31; updated 2025-10-09T11:35:19

概要

jrce_cpanel.sh内で実行されるスクリプトのゲソてん対応

対応

jrye_cpanelをコピーしてjrye_cpanel_gesotenを作成
スクリプト実行時のPFによって、DBの設定を切り替え
user_platformのpidを参照して各PFのユーザを対象とする

cron

PFだけ変更

#ヤマダ
0 0 * * * ENVIRONMENT=${JR_ENV} PF=yamada ${JR_DIR}/lib/exec/jrce_cpanel.sh

#ゲソてん
0 0 * * * ENVIRONMENT=${JR_ENV} PF=gesoten ${JR_DIR}/lib/exec/jrce_cpanel.sh

Comment

#42703 by kouho at 2025-10-06T15:59:42; updated 2025-10-06T15:59:42

@wada
define_cpanel 80行目の本番DB向き先は98ではなく、99ではないでしょうか?

kouho add_label at 2025-10-06T15:59:48: コメントあり

Comment

#42708 by wada at 2025-10-06T16:42:38; updated 2025-10-06T16:42:38

@kouho
修正しました。
> define_cpanel 80行目の本番DB向き先は98ではなく、99ではないでしょうか?

kouho add_label at 2025-10-09T10:23:28: 皇甫 LGTM

Comment

#42744 by kouho at 2025-10-09T10:23:39; updated 2025-10-09T10:23:39

@wada
修正確認OKです。

wada merge at 2025-10-09T11:35:13: ゲソてん集計対応
wada close at 2025-10-09T11:35:13: Close
wada delete_branch at 2025-10-09T11:35:19: cpanel_payment_log

Commit range

basee445317f42e2ac2d8b7ba21952942b46b7b62e03
headff6d3c33876a4517d70234d9cf00cfa796e39d6f
base branchjolly/jr-web:master
head branchjolly/jr-web:cpanel_payment_log

View commits

Commit details are loaded from Git when a dynamic archive server is running, or can be embedded with --include-commits.
Files changed17 filesView patch
statusfile
modifiedcpanel_html/define_cpanel.inc
modifiedlib/exec/cpanel_Continuation_rate.php
modifiedlib/exec/cpanel_Continuation_rate_tutorial.php
modifiedlib/exec/cpanel_build_count.php
modifiedlib/exec/cpanel_daily_active_user.php
modifiedlib/exec/cpanel_daily_active_user_analysis.php
modifiedlib/exec/cpanel_daily_count_genre.php
modifiedlib/exec/cpanel_daily_reg.php
modifiedlib/exec/cpanel_daily_ship_data.php
modifiedlib/exec/cpanel_daily_team_active_user.php
modifiedlib/exec/cpanel_daily_team_join_continuation_rate.php
modifiedlib/exec/cpanel_monthly_active_user.php
modifiedlib/exec/cpanel_payment_log.php
modifiedlib/exec/cpanel_tutorial_count.php
modifiedlib/exec/cpanel_tutorial_count_3days.php
modifiedlib/exec/cpanel_user_type_from_payment.php
modifiedlib/exec/define_exec.inc
Patch body is stored as a separate file to keep this page lightweight.