Skip to content

Schedule Batch Job #1448

Schedule Batch Job

Schedule Batch Job #1448

Workflow file for this run

name: Schedule Batch Job
on:
# Runs every 10 minutes from 20:00 to 20:50 UTC, which is 05:00 to 05:50 JST
schedule:
- cron: '0/10 20 * * *'
# manual trigger
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run batch job
env:
BATCH_API_KEY: ${{ secrets.BATCH_API_KEY }}
run: |
curl -f -X POST --header "authorization:$BATCH_API_KEY" 'https://iesona.com/api/batch/questionLog/refine?take=50'