So what I want to do is execute a script in the future. As an example, I want the user to select a date they want to be emailed. On that date, my program will email the user.
How can I store the future time the program should be executed in a database and retrieve it efficiently? I’m just looking for theory here.
If you’re curious, I’ll be using MySQL and The scripts will be in Python.
Put a date in the db. run a periodic cron job–if the date in the db < now, then fire reminder or whatever.