Hmmmm..
you could could create a PHP file/class that checks for something, and have the MySQL database store the info for the events.
It could work like this:
PHP Code:
$dbc = new mysqli('localhost', 'root', 'pw', 'freecrm');
$dbc->query('SELECT * FROM crm_events WHERE event_over = \'0\';');
while ($events = $query->fetch_array(MYSQLI_ASSOC)) {
if ((time() >= $events['time']) && ($events['even_over'] == 0)) {
// run event
$dbc->query('UPDATE crm_events SET event_over = \'1\' WHERE event_id = \'' . $envents['event_id'] . '\';';
}
}
I dunno, something like that could work.
Just be sure to put the function/class at the bottom/top of each page that way whenever the page is accessed, it executes the event early as possible.