Skip to content

Commit

Permalink
Merge pull request #292 from AndreaPontrandolfo/feature/reimplement-c…
Browse files Browse the repository at this point in the history
…ron-job

feature: reimplemented cron job workflow
  • Loading branch information
AndreaPontrandolfo authored Nov 1, 2024
2 parents 45adcbc + 7b1c628 commit 3bbcf7f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/keepalive.BACKUP

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Scheduled API Request

on:
schedule:
- cron: '*/13 * * * *' # Schedule every 13 minutes

jobs:
api-request:
runs-on: ubuntu-latest
steps:
- name: Run API Request Script
run: |
curl -X GET https://sheriff-webservices.onrender.com/api/keepalive

0 comments on commit 3bbcf7f

Please sign in to comment.