def watch(self):
            """Method to watch your inbox. This also logs the time when your 
               inbox was last checked."""
            current_file_size = os.path.getsize(self.file)
            if current_file_size > self.file_size_limit:
                self.send_an_email()
            f = open(self.log_file, 'a')
            f.write('Last checked on : %s' % time.asctime(time.localtime(time.time())))
            f.write('\n')
            f.close()
Method to watch your inbox. This also logs the time when your 
               inbox was last checked.
recipes/Python/578072_Generic_way_create_daemonized_process/recipe-578072.py