Skip to content

Commit

Permalink
feat(cron): add cron job file for later
Browse files Browse the repository at this point in the history
  • Loading branch information
gabeklavans committed Mar 15, 2024
1 parent 513b67e commit 6f7c46f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraper-job
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/5 * * * * root export curl $MONITOR_URL?state=run ; cd app/scraper/ && ./.venv/bin/python3 ./main.py --notify && curl $MONITOR_URL?state=complete || curl $MONITOR_URL?state=fail

0 comments on commit 6f7c46f

Please sign in to comment.