lifelineamerica
Programmer
I have a system set up where a bunch of users log in daily.
I want users to be able to set reminder emails to each other to check on certain tasks, but such emails are to be sent at later dates.
I guess I can:
1). store the contents of the form into database with the timestamp of the time it was submitted.
2). make a script that will be executed every day to check that timestamp; if timestamp + 7 days is >= to today's timestamp then send the email...
...and I would set that to always run in the background i.e. whenever anybody logs in - problem is; on a day that nobody logs in, obviously no email would go out.
So any better ideas?
I want users to be able to set reminder emails to each other to check on certain tasks, but such emails are to be sent at later dates.
I guess I can:
1). store the contents of the form into database with the timestamp of the time it was submitted.
2). make a script that will be executed every day to check that timestamp; if timestamp + 7 days is >= to today's timestamp then send the email...
...and I would set that to always run in the background i.e. whenever anybody logs in - problem is; on a day that nobody logs in, obviously no email would go out.
So any better ideas?