Jump Server : ssh 34.100.142.56
Server: ssh 10.24.5.7

Path: cd whatsapp_api

Script: php retry_enable-disable.php



Enter username: forestessentialswa

Select option:
1. Enable Retry
2. Disable Retry
Enter choice (1 or 2): 2
[2026-01-29 11:08:06] START | Username=forestessentialswa | Operation=disable
[2026-01-29 11:08:06] DB connection successful
[2026-01-29 11:08:06] User found | ClientID=185016 | Phone=9971288776
[2026-01-29 11:08:06] Existing configs: {"retry_config":"1","retry_enabled":"1"}
[2026-01-29 11:08:06] UPDATED retry_enabled → status=0
[2026-01-29 11:08:06] UPDATED retry_config → status=0
[2026-01-29 11:08:06] SUCCESS | Retry disable completed for forestessentialswa
[root@wapi-2-prod whatsapp_api]# 
[root@wapi-2-prod whatsapp_api]# ls
logs  retry_enable-disable.php
[root@wapi-2-prod whatsapp_api]#



mysql> select * from pepipost_whatsapp.trans_whatsapp_config where setting_name in ('retry_enabled','retry_config') and username like '%forestessentialswa%';
+----------+--------------------+------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------+---------------------+---------------------+--------+
| clientid | username           | ph_number  | setting_name  | setting_value                                                                                                                          | added               | updated_date        | status |
+----------+--------------------+------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------+---------------------+---------------------+--------+
|   185016 | forestessentialswa | 9971288776 | retry_config  | {"retry_until_hrs": 120, "active_working_hrs": "08_22", "max_retries": 5, "min_interval_between_retries": "4h", "failed_webhooks": 0 } | 2025-12-01 16:11:46 | 2026-01-29 11:08:06 |      0 |
|   185016 | forestessentialswa | 9971288776 | retry_enabled | 1                                                                                                                                      | 2025-12-01 16:11:42 | 2026-01-29 11:08:06 |      0 |
+----------+--------------------+------------+---------------+----------------------------------------------------------------------------------------------------------------------------------------+---------------------+---------------------+--------+
2 rows in set (0.01 sec)