Skip to content

Instantly share code, notes, and snippets.

@SeanJA
Created June 24, 2011 19:03
Show Gist options
  • Select an option

  • Save SeanJA/1045433 to your computer and use it in GitHub Desktop.

Select an option

Save SeanJA/1045433 to your computer and use it in GitHub Desktop.
get cron job descriptions out of your custom modules from elysia_cron
<?php
/**
* get cron job descriptions out of your custom modules from elysia_cron
* @param string $op
*/
function something_cronapi($op){
switch($op){
case "list":
return array('something_cron'=>'This is my cron function');
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment