Skip to content

Trigger prisma daily reset on a CRON Schedule #589

Trigger prisma daily reset on a CRON Schedule

Trigger prisma daily reset on a CRON Schedule #589

Workflow file for this run

name: Trigger prisma daily reset on a CRON Schedule
on:
schedule:
# Runs "every day at 6 am utc (2am est)" (see https://crontab.guru)
- cron: '0 6 * * *'
jobs:
cron:
runs-on: ubuntu-latest
steps:
- name: Hourly cron job
run: |
curl --request POST \
--url 'https://esodailytracker.vercel.app/api/dailyreset' \
--header 'Authorization:${{secrets.ACTION_KEY}}'