Skip to content

Instantly share code, notes, and snippets.

@pifantastic
Created November 15, 2010 23:16
Show Gist options
  • Save pifantastic/701155 to your computer and use it in GitHub Desktop.
Save pifantastic/701155 to your computer and use it in GitHub Desktop.
<?php
function whatever_init() {
pubsub_pub('cron.do.something', $arbitrary, $arguments, $here);
}
function whatever_pubsub_do_something($arbitrary, $arguments, $here) {
// This gets run when cron runs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment