derek-thomas HF staff commited on
Commit
1b32c70
1 Parent(s): 0707bd4

Changing to 30 seconds delay

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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=5)).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
 
 
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