From 892af69a33d4f0192bba1d3b0bc2ad688578a576 Mon Sep 17 00:00:00 2001 From: Tom Ritter Date: Tue, 26 Jan 2016 16:35:50 -0500 Subject: Add day and daily at noon options --- jobs/EmailChecker.py | 1 + jobs/JobBase.py | 2 ++ 2 files changed, 3 insertions(+) (limited to 'jobs') 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): -- cgit v1.2.3