Skip to content

Commit

Permalink
Cron Job
Browse files Browse the repository at this point in the history
  • Loading branch information
AzeemIdrisi committed Mar 6, 2024
1 parent 418d928 commit 3a54aec
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/streaks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Daily Streaks Check

on:
schedule:
- cron: "0 0 * * *" # Runs at midnight UTC every day

jobs:
run_script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install selenium beautifulsoup4
- name: Run script
run: python main.py

0 comments on commit 3a54aec

Please sign in to comment.