add some logs

This commit is contained in:
Gaël Honorez
2024-01-02 08:35:20 +01:00
parent 84ab8eb974
commit 5c68063ad3

View File

@@ -82,9 +82,9 @@ class SubStackTask:
LOG.info("Waiting for " + str(sleep_seconds) + " seconds for next scan") LOG.info("Waiting for " + str(sleep_seconds) + " seconds for next scan")
# Wait until the next run time # Wait until the next run time
await asyncio.sleep(sleep_seconds) await asyncio.sleep(sleep_seconds)
LOG.info("Going to run the daily task")
# Run the daily task # Run the daily task
await self.daily_task() await self.daily_task()
@@ -92,6 +92,8 @@ class SubStackTask:
title_post = "Les news du " + self.get_fr_date() title_post = "Les news du " + self.get_fr_date()
LOG.info("Running daily task : " + str(title_post))
sub_stack_post = Post( sub_stack_post = Post(
title=title_post, title=title_post,
subtitle="", subtitle="",