Recurring Jobs #1367
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Recurring Jobs | |
| on: | |
| schedule: | |
| - cron: '0 * * * *' # 每小时执行 | |
| jobs: | |
| process-recurring-tasks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger Recurring Jobs | |
| run: | | |
| curl -X POST https://jobbackend.kaiwk.com/tasks/recurring-jobs \ | |
| -H "Authorization: Bearer ${{ secrets.API_AUTH_TOKEN }}" \ | |
| -H "Content-Type: application/json" |