mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 22:53:16 +00:00
22 lines
439 B
PHP
22 lines
439 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Name: external cron
|
||
|
* Description: Use external server or service to run poller regularly
|
||
|
* Version: 1.0
|
||
|
* Author: Mike Macgirvin <http://macgirvin.com/profile/mike>
|
||
|
*
|
||
|
* Notes: External service needs to make a web request to http(s)://yoursite/extcron
|
||
|
*/
|
||
|
|
||
|
function extcron_install() {}
|
||
|
|
||
|
function nsfw_uninstall() {}
|
||
|
|
||
|
function extcron_module() {}
|
||
|
|
||
|
function extcron_init(&$a) {
|
||
|
proc_run('php','include/poller.php');
|
||
|
}
|