mirror of
https://github.com/agresdominik/predictify.git
synced 2026-04-21 17:55:49 +00:00
Added timer to avoid working with cronjobs
This commit is contained in:
+6
-1
@@ -1,3 +1,8 @@
|
||||
from time import sleep
|
||||
|
||||
from scraper import scraping
|
||||
|
||||
scraping()
|
||||
# Run forever on intervals of 30 minutes
|
||||
while True:
|
||||
scraping()
|
||||
sleep(1800)
|
||||
|
||||
Reference in New Issue
Block a user