print "This prints once a minute."
time.sleep(60) # Delay for 1 minute (60 seconds)
jodie_Casper answered on July 9th 19 at 10:20
Every 3 seconds often? if once per minute is enough, it is possible the following variant:
in Linux there is a cron daemon.
For configuration, you can use the following command: crontab-e
The lines must be in the following form: # m h dom mon dow user command
After in your case you would enter: */1 * * * * /path/to/program