ninedoors Posted October 4, 2007 Share Posted October 4, 2007 I have a hockey league and would like to send out an email every week. I would like this to happen at the same time every week (say Sat. night). All the info in the email will be from MySQL database so I won't need to change anything that often. Thanks. Nick Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/ Share on other sites More sharing options...
ninedoors Posted October 4, 2007 Author Share Posted October 4, 2007 Oh ya, I forgot to say that I am using PHPMailer. Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362083 Share on other sites More sharing options...
BlueSkyIS Posted October 4, 2007 Share Posted October 4, 2007 and the question is....? Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362085 Share on other sites More sharing options...
ninedoors Posted October 4, 2007 Author Share Posted October 4, 2007 Sorry, I am out of it tonight. The question is how can I go about this using php, if it is possible at all. Nick Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362086 Share on other sites More sharing options...
BlueSkyIS Posted October 4, 2007 Share Posted October 4, 2007 assuming you're on Linux, you can use crontab to run a PHP script at a set time each day. google crontab for lots of info. Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362088 Share on other sites More sharing options...
ninedoors Posted October 4, 2007 Author Share Posted October 4, 2007 Ok, I'll look at that. Thanks Nick Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362089 Share on other sites More sharing options...
ninedoors Posted October 5, 2007 Author Share Posted October 5, 2007 Ok, I have read a bit about cron tabs but I can't find the command I need to run a php script. Nick Link to comment https://forums.phpfreaks.com/topic/71880-automating-emails/#findComment-362104 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.