mirror of
https://github.com/YunoHost-Apps/hubzilla_ynh.git
synced 2024-09-03 19:26:21 +02:00
23 lines
429 B
PHP
23 lines
429 B
PHP
|
<?php
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Name: external cron
|
||
|
* Description: Use external server or service to run poller regularly
|
||
|
* Version: 1.0
|
||
|
* Author: Mike Macgirvin <mike@zothub.com>
|
||
|
*
|
||
|
* Notes: External service needs to make a web request to http(s)://yoursite/extcron
|
||
|
*/
|
||
|
|
||
|
function extcron_load() {}
|
||
|
|
||
|
function extcron_unload() {}
|
||
|
|
||
|
function extcron_module() {}
|
||
|
|
||
|
function extcron_init(&$a) {
|
||
|
proc_run('php','include/poller.php');
|
||
|
killme();
|
||
|
}
|