]> git.mxchange.org Git - friendica-addons.git/blob - extcron/extcron.php
Merge pull request #406 from tobiasd/20120228-lng
[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  */
12
13 function extcron_install() {}
14
15 function extcron_uninstall() {}
16
17 function extcron_module() {}
18
19 function extcron_init(&$a) {
20         proc_run('php','include/poller.php');
21         killme();
22 }