derek-thomas HF staff commited on
Commit
f53b0e3
1 Parent(s): f7b37dc
Files changed (1) hide show
  1. main.py +1 -0
main.py CHANGED
@@ -61,6 +61,7 @@ def schedule_periodic_task():
61
  """
62
  Schedule the main task to run at the user-defined frequency
63
  """
 
64
  if frequency == 'hourly':
65
  logger.info(f'Scheduling tasks to run every hour at the top of the hour')
66
  schedule.every().hour.at(":00").do(main)
 
61
  """
62
  Schedule the main task to run at the user-defined frequency
63
  """
64
+ main()
65
  if frequency == 'hourly':
66
  logger.info(f'Scheduling tasks to run every hour at the top of the hour')
67
  schedule.every().hour.at(":00").do(main)