Table of Contents
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
