From cb66a8b4156f26bb4f4dae288fc84e8f289ed86a Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 23 Jun 2008 11:23:08 +0000 Subject: Closes #77 - Cron endpoint and event git-svn-id: https://code.elgg.org/elgg/trunk@1053 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/handlers/cron_handler.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 engine/handlers/cron_handler.php (limited to 'engine/handlers') diff --git a/engine/handlers/cron_handler.php b/engine/handlers/cron_handler.php new file mode 100644 index 000000000..2d3e0168b --- /dev/null +++ b/engine/handlers/cron_handler.php @@ -0,0 +1,30 @@ + $v) + $params[$k] = $v; + + // Trigger hack + $std_out = ""; // Data to return to + $std_out = trigger_plugin_hook('system', 'cron', $params, $std_out); + + // Return event + echo $std_out; +?> \ No newline at end of file -- cgit v1.2.3