mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 01:48:48 +00:00
Revert to stable version 3.5.4
This commit is contained in:
parent
38db18b624
commit
5360f08f42
355 changed files with 21449 additions and 4957 deletions
29
extcron/extcron.php
Normal file
29
extcron/extcron.php
Normal file
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
|
||||
/**
|
||||
* Name: external cron
|
||||
* Description: Use external server or service to run poller regularly
|
||||
* Version: 1.0
|
||||
* Author: Mike Macgirvin <https://macgirvin.com/profile/mike>
|
||||
*
|
||||
* 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() {}
|
||||
|
||||
function extcron_module() {}
|
||||
|
||||
function extcron_init(&$a) {
|
||||
worker_init($a);
|
||||
killme();
|
||||
|
||||
// Deactivated
|
||||
//proc_run('php','include/poller.php');
|
||||
//killme();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue