====== Run batch manually on Staging (without waiting for cron) ====== If you don’t want to wait for the cron schedule and want to run the batch stg-integrations-kasho_sanzen-pointaddsub-pos immediately on Staging, follow the steps below πŸ‘‡ ==== βœ… Step 1: Go to the ECS Cluster ==== AWS Console β†’ ECS Select Clusters Choose cluster: stg-integrations ==== βœ… Step 2: Run a new task ==== Open the Tasks tab Click Run new task ==== βœ… Step 3: Configure the task ==== Compute options Launch type: FARGATE Task definition Family: stg-integrations-batch Revision: Latest Networking Use the same settings as the scheduled tasks VPC Subnets Security Group ==== βœ… Step 4: Override Command (IMPORTANT) ==== In Advanced options / Container overrides: Container: stg-integrations-batch Command override: batch,pointaddsub,--client-code,KASHO_SANZEN,--file-type,POS batch,pointaddsub,--client-code,KASHO_SANZEN,--file-type,EC,--target-date,20260205 πŸ‘‰ This is the exact command used by the scheduled *-pos task. ==== βœ… Step 5: Run the task ==== Click Run task The task will start immediately (no need to wait for cron) ==== βœ… Step 6: Check logs ==== Option 1: ECS ECS β†’ Task β†’ Logs Option 2: CloudWatch Log group: /ecs/stg-integrations-batch