[Typo3-dev] Typo3 alternative to cron (?)

Arne Skjaerholt skjaerho at cpi.no
Tue Feb 22 17:39:05 CET 2005


A somewhat different suggestion for you. I'm not sure Typo3 supports
this (AFAIK it doesn't), but if you've got your own extension handling
this you could use signals to trigger the sending of the mail.
Basically you create a facility that allows your PHP code to signal that
something has happened (a page has been updated, someone has made a
forum post or whatever) to a central entity that then processes the info
and decides what action should be taken (if any). A very seamless way to
do this is using try/catch exception handling.
Adding this to your own extension should be a reasonably easy task.
Making it work across extension might be a bit more tricky (writing an
event handler extension that the others depend on would be the best
approach I think).

Arne
:wq





More information about the TYPO3-dev mailing list