View Single Post
Old 31st August 2011, 14:54
wyrie wyrie is offline
Junior Member
Join Date: Jan 2009
Posts: 28
Thanks: 2
Thanked 9 Times in 6 Posts

the monitoring module runs time based actions, which is why I mentioned it - but only as an example:

public function onLoad() {
global $app;

* Do the monitor every n minutes and write the result to the db
$min = @date('i');
if (($min % $this->interval) == 0) {

Executed by the server cron job that runs every minute we have all that would be needed. The hook could be places in the mail_module onLoad() and as the autoresponder dates controls allow the user to define times down to 5 minute intervals it would be accurate.
Reply With Quote