Triggerblock: an empty block that triggers when viewed.

Yeah, my first www.drupal.org posting, a full module in a snippet. The code defines a module that exposes a block and a trigger. The trigger will be fired when the special trigger block is shown. The trigger block itself only contains HTML comments.

The reason this could come in handy, is if you want a really finely timed trigger (more resolution than cron) for light actions like counters etc. One example of this is a special kind of light trigger that will allow you to automatically publish content like Schedular, but which is checked every time a user views the block. It is a bit of a hack, but should allow simple uses and blog sites to enjoy it.

See the full post at: http://drupal.org/node/212378