Print Page | Close Window

Daily Digest of Posts?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=1167
Printed Date: 29 March 2026 at 11:56pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Daily Digest of Posts?
Posted By: svpworld
Subject: Daily Digest of Posts?
Date Posted: 20 March 2003 at 8:45am

Haven't found this mentioned anywhere in the forum, so I thought it appropriate to ask.

I would like to add a "daily digest" feature to my forum that emails a digest of new posts for the day to those users who have chosen to receive it. A colleague of mine has put together most of the code that generates the digest and emails it, the big question is now how to trigger this event at the end of each day. I'd like to know if anyone has a ideas on this, at present the only solution seems to be to put some code on my main website front page and have the first visitor after midnight to activate the script following a time/date checking routine which runs from the index page. Is this effective?

Simon




Replies:
Posted By: michael
Date Posted: 20 March 2003 at 10:17am
If Behic's solution does not work  I would say it is effective if someone for sure visits your forum after midnight before you want to have the digest. Thus you need to make sure it's only sent once. What db backend are you using? If you use SQL Server you can use a Job or Trigger to do send you the info, needs some programming but works like a charm. There are components that interact with the Windows Scheduler. If you have your own computer running at all time just call an asp page with the code at a certain time, just close the windows once in a while.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net