diff --git a/.github/workflows/data_update.yml b/.github/workflows/data_update.yml index c076c1d50fd..c8c4a5e3ea6 100644 --- a/.github/workflows/data_update.yml +++ b/.github/workflows/data_update.yml @@ -2,8 +2,8 @@ name: update data on: schedule: - # TODO: should run at 0:00 6:00 12:00 and 16:00 o'clock every day. - - cron: '0 8 * * 1' + # Should run at 0:00, 6:00, 12:00, and 16:00 every day (UTC). + - cron: '0 0,6,12,16 * * *' workflow_dispatch: jobs: @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - - uses: actions/checkout@v3 + uses: actions/checkout@v3 - name: Setup Python uses: actions/setup-python@v4 @@ -37,4 +37,4 @@ jobs: author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> delete-branch: true title: 'Update Deutsche Bahn data' - body: 'Update Deutsche Bahn data' \ No newline at end of file + body: 'Update Deutsche Bahn data'