friendica-addons/extcron/extcron.php
2013-01-05 21:50:11 -08:00

22 lines
454 B
PHP
Executable file

<?php
/**
* Name: external cron
* Description: Use external server or service to run poller regularly
* Version: 1.0
* Author: Mike Macgirvin <https://macgirvin.com/profile/mike>
*
* Notes: External service needs to make a web request to http(s)://yoursite/extcron
*/
function extcron_install() {}
function extcron_uninstall() {}
function extcron_module() {}
function extcron_init(&$a) {
proc_run('php','include/poller.php');
killme();
}