Commit
•
1b32c70
1
Parent(s):
0707bd4
Changing to 30 seconds delay
Browse files
main.py
CHANGED
@@ -60,7 +60,7 @@ def schedule_daily_task():
|
|
60 |
"""
|
61 |
Schedule the daily_task to run at the specific time every day.
|
62 |
"""
|
63 |
-
start_time = (datetime.now() + timedelta(seconds=
|
64 |
logger.info(f'Scheduling tasks to run every day at: {start_time}')
|
65 |
schedule.every().day.at(start_time).do(main)
|
66 |
|
|
|
60 |
"""
|
61 |
Schedule the daily_task to run at the specific time every day.
|
62 |
"""
|
63 |
+
start_time = (datetime.now() + timedelta(seconds=30)).time().strftime('%H:%M') # Now + 30 seconds
|
64 |
logger.info(f'Scheduling tasks to run every day at: {start_time}')
|
65 |
schedule.every().day.at(start_time).do(main)
|
66 |
|