Reputation: 549
How would you go about a having a function check something every ten minutes? I would like to check a directory for new files every ten minutes. I know python has a time library but can it be used for this?
Upvotes: 0
Views: 419
Reputation: 319621
time.sleep(10*60)
you might want to look into cron
or Scheduled Tasks services of the OS.
Upvotes: 0