X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=extcron%2Fextcron.php;h=4405fb41c29a72b6c21845d8d8276a5a222143a9;hb=18784a484b04b5f74e6d4dca516b2dc20cffe953;hp=e3c21209b3c33e28d8e34caef0181d98efd183f5;hpb=d7bd2246c18f5880fc3c083bf3d698fe4f29fcb6;p=friendica-addons.git diff --git a/extcron/extcron.php b/extcron/extcron.php index e3c21209..4405fb41 100755 --- a/extcron/extcron.php +++ b/extcron/extcron.php @@ -5,11 +5,14 @@ * Name: external cron * Description: Use external server or service to run poller regularly * Version: 1.0 - * Author: Mike Macgirvin + * Author: Mike Macgirvin * * Notes: External service needs to make a web request to http(s)://yoursite/extcron + * Status: Unsupported */ +require_once "mod/worker.php"; + function extcron_install() {} function extcron_uninstall() {} @@ -17,6 +20,10 @@ function extcron_uninstall() {} function extcron_module() {} function extcron_init(&$a) { - proc_run('php','include/poller.php'); + worker_init($a); killme(); + + // Deactivated + //proc_run('php','include/poller.php'); + //killme(); }