Skip to content

Commit

Permalink
Merge pull request #54 from bukosabino/develop-fix-schedules-jobs
Browse files Browse the repository at this point in the history
Fixing schedule jobs
  • Loading branch information
bukosabino authored Feb 4, 2024
2 parents c061329 + 4a2b024 commit d72fa7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/etls/bocm/schedule.py → src/etls/bocm/daily_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

import schedule

from src.etls.boe.load import today
from src.etls.bocm.load import today


schedule.every().day.at("11:00").do(today, collection_name="bocm")

while True:
schedule.run_pending()
time.sleep(1)
time.sleep(1)
2 changes: 1 addition & 1 deletion src/etls/boe/daily_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from src.etls.boe.load import today


schedule.every().day.at("11:00").do(today, collection_name="<template>")
schedule.every().day.at("11:00").do(today, collection_name="justicio")

while True:
schedule.run_pending()
Expand Down

0 comments on commit d72fa7c

Please sign in to comment.