added new_python_file code.
[pauldeden-misc.git] / email_reminder.py
blobc19cfcd91b865538b362476798da6cc37171dc87
1 #!/usr/bin/python
2 #
3 # This program was born out of a need I have to stay focused while working.
4 # Many inconsequential emails were interrupting my mindset.
5 #
6 # So, I created this script to remind me to check my email. It is setup
7 # to be run from cron (or task scheduler if you are on windows) and show
8 # a little message box when you want to remind yourself to check your email.
9 # Use a line like the following in your cron settings to schedule (use your
10 # own schedule!)
11 # 05 8,10,12,14,15 * * mon-thu DISPLAY=:0 /fullpathto/email_reminder.py
12 # make sure you give teh email_reminder.py file execute permissions or
13 # you run it explicitely through the python interpreter like
14 # /usr/bin/python /fullpathto/email_reminder.py
16 # Easygui <http://www.ferg.org/easygui> makes this trivial!
18 # Copyright: Paul D. Eden <paul@benchline.org>
19 # License: GPL version 3 http://www.gnu.org/licenses/gpl.html
22 from easygui import *
24 msgbox("Time to check your email. :-)")