diff options
author | Tom Ritter <tom@ritter.vg> | 2016-01-26 16:35:50 -0500 |
---|---|---|
committer | Tom Ritter <tom@ritter.vg> | 2016-01-26 16:35:50 -0500 |
commit | 892af69a33d4f0192bba1d3b0bc2ad688578a576 (patch) | |
tree | eb3b6b02320bd61328f10466927f2f499a468b75 /jobs | |
parent | 869de79cc6483f5583b2f9bddd08720d103c8bec (diff) |
Add day and daily at noon options
Diffstat (limited to 'jobs')
-rwxr-xr-x | jobs/EmailChecker.py | 1 | ||||
-rwxr-xr-x | jobs/JobBase.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/jobs/EmailChecker.py b/jobs/EmailChecker.py index ee6db77..7c61f01 100755 --- a/jobs/EmailChecker.py +++ b/jobs/EmailChecker.py @@ -3,6 +3,7 @@ import os import base64 import datetime +import logging import imaplib diff --git a/jobs/JobBase.py b/jobs/JobBase.py index a10bdeb..8ecdef4 100755 --- a/jobs/JobBase.py +++ b/jobs/JobBase.py @@ -8,6 +8,8 @@ import smtplib class JobFrequency: MINUTE = "minute" HOUR = "hour" + DAY = "day" + DAY_NOON = "day_noon" class JobBase: def __init__(self): |