We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b31579a commit 1473555Copy full SHA for 1473555
.github/workflows/cron-deb-auth-service-api.yml
@@ -0,0 +1,25 @@
1
+name: Poll API Every 5 Mins
2
+
3
+on:
4
+ schedule:
5
+ - cron: '*/2 * * * *' # Runs every 5 minutes
6
+ workflow_dispatch: # (optional) manual trigger from GitHub UI
7
8
+jobs:
9
+ poll-api:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repo
14
+ uses: actions/checkout@v3
15
16
+ - name: Setup Python
17
+ uses: actions/setup-python@v4
18
+ with:
19
+ python-version: '3.10'
20
21
+ - name: Install Requests
22
+ run: pip install requests
23
24
+ - name: Run Python Script
25
+ run: python main.py
0 commit comments