aboutsummaryrefslogtreecommitdiffstats
path: root/onceaday.py
diff options
context:
space:
mode:
Diffstat (limited to 'onceaday.py')
-rw-r--r--onceaday.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/onceaday.py b/onceaday.py
new file mode 100644
index 0000000..a84b0d9
--- /dev/null
+++ b/onceaday.py
@@ -0,0 +1,9 @@
+import SmallYTChannelBotSubmissions
+from time import sleep
+
+SECONDS_IN_DAY = 25 * 60 * 60
+
+while True:
+ SmallYTChannelBotSubmissions.every_day()
+ print("Called @ %s" % SmallYTChannelBotSubmissions.get_time)
+ sleep(SECONDS_IN_DAY)