removed cron api
This commit is contained in:
parent
99e7b77bd1
commit
2e28361c75
6 changed files with 0 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -7,8 +7,6 @@ FEED_URL="https://blauwasser-mausis.de/rss.xml"
|
|||
|
||||
def check_blog_rss_and_send_mail():
|
||||
feed = feedparser.parse(FEED_URL)
|
||||
# feed.entries.reverse()
|
||||
|
||||
for article in feed.entries:
|
||||
date_string = str(article["published"])
|
||||
date_object = datetime.strptime(date_string, '%a, %d %b %Y %H:%M:%S %Z')
|
||||
|
|
|
|||
|
|
@ -26,6 +26,3 @@ router = APIRouter()
|
|||
app.include_router(users.router)
|
||||
app.include_router(comments.router)
|
||||
|
||||
app.include_router(get_cron_router(), prefix="/crons")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue