Timed email reminder in python
        Posted  
        
            by Ali
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ali
        
        
        
        Published on 2010-04-28T19:06:45Z
        Indexed on 
            2010/04/28
            20:57 UTC
        
        
        Read the original article
        Hit count: 503
        
I have written up a python script that allows a user to input a message, his email and the time and they would like the email sent. This is all stored in a mysql database.
However, how do I get the script to execute on the said time and date? will it require a cron job? I mean say at 2:15 on april 20th, the script will search the database for all times of 2:15, and send out those emails. But what about for emails at 2:16?
I am using a shared hosting provided, so cant have a continously running script.
Thanks
© Stack Overflow or respective owner