php - Send mail every n days -


i have php script use send mail customers. how can execute script every 5 days example? can give me idea or links? thanks

if have database underneath, store date of last mail in database. script checks, last date in database is. if more n days in past sends new mail , overwrites date in database current date.

alternatively use cron-jobs.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -