add some logs
This commit is contained in:
@@ -82,7 +82,7 @@ class SubStackTask:
|
||||
LOG.info("Waiting for " + str(sleep_seconds) + " seconds for next scan")
|
||||
# Wait until the next run time
|
||||
await asyncio.sleep(sleep_seconds)
|
||||
|
||||
LOG.info("Going to run the daily task")
|
||||
# Run the daily task
|
||||
await self.daily_task()
|
||||
|
||||
@@ -92,6 +92,8 @@ class SubStackTask:
|
||||
|
||||
title_post = "Les news du " + self.get_fr_date()
|
||||
|
||||
LOG.info("Running daily task : " + str(title_post))
|
||||
|
||||
sub_stack_post = Post(
|
||||
title=title_post,
|
||||
subtitle="",
|
||||
|
||||
Reference in New Issue
Block a user