
[2023-08-22 Tue 04:00:02] : *********************** START **************************
[2023-08-22 Tue 04:00:02] : select id, status_code from status_code where status='Active'
[2023-08-22 Tue 04:00:02] : Status Code Result: 2
[2023-08-22 Tue 04:00:02] : select id, app_store, app_name, app_url from app_info where scheduler_status='Active' and status='Active'
[2023-08-22 Tue 04:00:02] : App Info Result: 6
[2023-08-22 Tue 04:00:02] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:02] : Batch ID: 2023-08-22 04:00:02#Google Play Store#AppInfoId_1#AppName_Unet
[2023-08-22 Tue 04:00:02] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:02] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_1#AppName_Unet --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:02] : APP_VERSION
[2023-08-22 Tue 04:00:03] : 3.30
[2023-08-22 Tue 04:00:03] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (1,2,'3.30','2023-08-22 04:00:02#Google Play Store#AppInfoId_1#AppName_Unet','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:03] : 1
[2023-08-22 Tue 04:00:03] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:03] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:03] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_1#AppName_Unet --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:03] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:12] : 2023-07-27
[2023-08-22 Tue 04:00:12] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (1,5,'2023-07-27','2023-08-22 04:00:02#Google Play Store#AppInfoId_1#AppName_Unet','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:12] : 1
[2023-08-22 Tue 04:00:12] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:12] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:12] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:12] : Batch ID: 2023-08-22 04:00:02#Google Play Store#AppInfoId_2#AppName_UClick
[2023-08-22 Tue 04:00:12] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:12] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_2#AppName_UClick --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:12] : APP_VERSION
[2023-08-22 Tue 04:00:13] : 1.0.0.7
[2023-08-22 Tue 04:00:13] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (2,2,'1.0.0.7','2023-08-22 04:00:02#Google Play Store#AppInfoId_2#AppName_UClick','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:13] : 1
[2023-08-22 Tue 04:00:13] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:13] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:13] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_2#AppName_UClick --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:13] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:14] : 2023-05-04
[2023-08-22 Tue 04:00:14] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (2,5,'2023-05-04','2023-08-22 04:00:02#Google Play Store#AppInfoId_2#AppName_UClick','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:14] : 1
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : Batch ID: 2023-08-22 04:00:02#Google Play Store#AppInfoId_3#AppName_Unet Enterprise Banking
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_3#AppName_Unet Enterprise Banking --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:14] : APP_VERSION
[2023-08-22 Tue 04:00:14] : 1.0.18
[2023-08-22 Tue 04:00:14] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (3,2,'1.0.18','2023-08-22 04:00:02#Google Play Store#AppInfoId_3#AppName_Unet Enterprise Banking','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:14] : 1
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : Misc Test: 2023-08-22 04:00:02#Google Play Store#AppInfoId_3#AppName_Unet Enterprise Banking --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:14] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:14] : 2023-08-13
[2023-08-22 Tue 04:00:14] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (3,5,'2023-08-13','2023-08-22 04:00:02#Google Play Store#AppInfoId_3#AppName_Unet Enterprise Banking','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:14] : 1
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : Batch ID: 2023-08-22 04:00:02#Apple I Store#AppInfoId_4#AppName_UCB Unet
[2023-08-22 Tue 04:00:14] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:14] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_4#AppName_UCB Unet --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:14] : APP_VERSION
[2023-08-22 Tue 04:00:16] : 2.3.0
[2023-08-22 Tue 04:00:16] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (4,2,'2.3.0','2023-08-22 04:00:02#Apple I Store#AppInfoId_4#AppName_UCB Unet','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:16] : 1
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_4#AppName_UCB Unet --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:16] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:16] : 2023-07-30
[2023-08-22 Tue 04:00:16] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (4,5,'2023-07-30','2023-08-22 04:00:02#Apple I Store#AppInfoId_4#AppName_UCB Unet','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:16] : 1
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : Batch ID: 2023-08-22 04:00:02#Apple I Store#AppInfoId_5#AppName_UClick
[2023-08-22 Tue 04:00:16] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:16] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_5#AppName_UClick --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:16] : APP_VERSION
[2023-08-22 Tue 04:00:17] : 1.0.8
[2023-08-22 Tue 04:00:17] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (5,2,'1.0.8','2023-08-22 04:00:02#Apple I Store#AppInfoId_5#AppName_UClick','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:17] : 1
[2023-08-22 Tue 04:00:17] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:17] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:17] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_5#AppName_UClick --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:17] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:18] : 2023-05-04
[2023-08-22 Tue 04:00:18] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (5,5,'2023-05-04','2023-08-22 04:00:02#Apple I Store#AppInfoId_5#AppName_UClick','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:18] : 1
[2023-08-22 Tue 04:00:18] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:18] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:18] : <<<<<<<<<<<<<<<<<<<<START App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:18] : Batch ID: 2023-08-22 04:00:02#Apple I Store#AppInfoId_6#AppName_Unet Enterprise Banking
[2023-08-22 Tue 04:00:18] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:18] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_6#AppName_Unet Enterprise Banking --> APP_VERSION --> 2 --> get-app-info.php
[2023-08-22 Tue 04:00:18] : APP_VERSION
[2023-08-22 Tue 04:00:19] : 1.0.8
[2023-08-22 Tue 04:00:19] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (6,2,'1.0.8','2023-08-22 04:00:02#Apple I Store#AppInfoId_6#AppName_Unet Enterprise Banking','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:19] : 1
[2023-08-22 Tue 04:00:19] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:19] : <<<<<<<<<<<<<<<<<<<<START Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:19] : Misc Test: 2023-08-22 04:00:02#Apple I Store#AppInfoId_6#AppName_Unet Enterprise Banking --> APP_LAST_UPDATE --> 5 --> get-app-info.php
[2023-08-22 Tue 04:00:19] : APP_LAST_UPDATE
[2023-08-22 Tue 04:00:20] : 2023-05-30
[2023-08-22 Tue 04:00:20] : INSERT INTO app_info_status (app_info_id, status_code_id, status_value, batch_id, executed_date, executed_at_bd_time, executed_at_server_time, which_script) VALUES (6,5,'2023-05-30','2023-08-22 04:00:02#Apple I Store#AppInfoId_6#AppName_Unet Enterprise Banking','2023-08-22','2023-08-22 04:00:02','2023-08-21 22:00:02','get-app-info.php')
[2023-08-22 Tue 04:00:20] : 1
[2023-08-22 Tue 04:00:20] : <<<<<<<<<<<<<<<<<<<<END Status Code wise Info Fetch>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:20] : <<<<<<<<<<<<<<<<<<<<END App Info Loop>>>>>>>>>>>>>>>>>>>>
[2023-08-22 Tue 04:00:20] : Connection closed
[2023-08-22 Tue 04:00:20] : ************************ END ***************************
[2023-08-22 Tue 06:00:02] : *********************** START Send Deviation Alert**************************
[2023-08-22 Tue 06:00:02] : SELECT DISTINCT t1.*,t2.*  FROM 
				(
				SELECT ai.id, ai.app_name, ai.app_store, ai.app_org, sc.status_code, sc.status_code_desc, ais.status_value, ais.`executed_date` AS date_bd
				FROM app_info ai LEFT OUTER JOIN app_info_status ais ON ai.id=ais.`app_info_id` 
				LEFT OUTER JOIN status_code sc ON ais.`status_code_id`=sc.`id` 
				WHERE ais.`status`='Active' AND ais.`executed_date` = '2023-08-22'
				) t1
				LEFT OUTER JOIN
				(
				SELECT ai.id AS id_1, ai.app_name AS app_name_1, ai.app_store AS app_store_1, ai.app_org AS app_org_1, sc.status_code AS status_code_1,
				 sc.status_code_desc AS status_code_desc_1, ais.status_value AS status_value_1
				FROM app_info ai LEFT OUTER JOIN app_info_status ais ON ai.id=ais.`app_info_id` 
				LEFT OUTER JOIN status_code sc ON ais.`status_code_id`=sc.`id` 
				WHERE ais.`status`='Active' AND ais.`executed_date` = '2023-08-21'
				) t2 ON t1.id=t2.id_1 and t1.status_code=t2.status_code_1
				ORDER BY t1.`app_store`, t1.`app_name`, t1.`status_code`, t1.`date_bd` DESC
[2023-08-22 Tue 06:00:02] : Total Record Fetch: 12
[2023-08-22 Tue 06:00:02] : <h1 style="color:green">No Mismatch Found!!!</h1>
[2023-08-22 Tue 06:00:09] : Mail sent on 2023-08-22 06:00:02
[2023-08-22 Tue 06:00:09] : Connection closed
[2023-08-22 Tue 06:00:09] : ************************ END ***************************