]> git.mxchange.org Git - friendica-addons.git/blob - extcron/extcron.php
Additional work for PR 3778
[friendica-addons.git] / extcron / extcron.php
1 <?php
2
3
4 /**
5  * Name: external cron
6  * Description: Use external server or service to run poller regularly
7  * Version: 1.0
8  * Author: Mike Macgirvin <https://macgirvin.com/profile/mike>
9  * 
10  * Notes: External service needs to make a web request to http(s)://yoursite/extcron
11  * Status: Unsupported
12  */
13
14 require_once "mod/worker.php";
15
16 function extcron_install() {}
17
18 function extcron_uninstall() {}
19
20 function extcron_module() {}
21
22 function extcron_init(&$a) {
23         worker_init($a);
24         killme();
25
26         // Deactivated
27         //proc_run('php','include/poller.php');
28         //killme();
29 }