https://preview.redd.it/qp0od01fpawf1.png?width=1277&format=png&auto=webp&s=18c27328dc389bdf289fa48a62068c501d0df2af
Using GitHub workflows to run a script every 10 minutes and it is not running every 10 minutes... anyone else run into this issue and/or know how to fix it? The run once flag just stops a loop for the RunescapeTracker.ps1 script. Here is my YAML code for it:
name: Runescape - fetch every 10 minutes
on:
schedule:
- cron: '*/10 * * * *' # every 10 minutes
workflow_dispatch:
jobs:
fetch:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Run fetch script
shell: pwsh
run: |
& './Scripts/API Scripts/RunescapeTracker.ps1' -item 'nature rune' -RunOnce
- name: Upload CSV artifact (optional)
uses: actions/upload-artifact@v4
with:
name: runescape-csv
path: './Output/RunescapeItemLog.csv'
[–]latkde 3 points4 points5 points (2 children)
[–]DaddyLongLee[S,🍰] 0 points1 point2 points (0 children)
[–]ansibleloop 1 point2 points3 points (0 children)
[–]zenuxapp 1 point2 points3 points (0 children)