954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

send email every 24 hours for every topic without using cron

I know how to select the members who did not post for every topic.
I need to send an email every 24 hours to the members who did not post for every topic. Could you please help me?

abs0lut01
Newbie Poster
5 posts since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

Why can't you use cron?

ShawnCplus
Code Monkey
Team Colleague
1,583 posts since Apr 2005
Reputation Points: 526
Solved Threads: 268
 

without cron the only way would be from a page that is accessed from the web. You would probably have to keep a log of successful mail events and use an if statement in one of your more visited pages. In the if statement you would use the date() function and determine if the current time is past a specific time of day and that the current date is not found in the log. If that is the case, send the emails and write to log.

R0bb0b
Posting Shark
998 posts since Jun 2008
Reputation Points: 358
Solved Threads: 89
 

thanks for your suggestion ,i m also searching for the same
...i got it how to use that .
i just want to add a line that you can use database to store your last mail sent time or date

coolasr
Newbie Poster
2 posts since Aug 2011
Reputation Points: 10
Solved Threads: 0
 

nice post......

hostobtain
Newbie Poster
1 post since Aug 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You