derek-thomas HF staff commited on
Commit
84af1d7
1 Parent(s): 4469d41

Running the next minute

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=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
 
 
60
  """
61
  Schedule the daily_task to run at the specific time every day.
62
  """
63
+ start_time = (datetime.now() + timedelta(minutes=1)).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