* 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) {
- proc_run('php','include/poller.php');
+ worker_init($a);
killme();
+
+ // Deactivated
+ //proc_run('php','include/poller.php');
+ //killme();
}
* Description: Execute updates on pageviews, without the need of commandline php - only for use in total desperation as page loads will take forever
* Version: 1.2
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrix>
+ * Status: Unsupported
*/
function poormancron_install() {
function poormancron_hook(&$a,&$b) {
- $now = time();
- $lastupdate = get_config('poormancron', 'lastupdate');
+ return; // deactivated
- // 300 secs, 5 mins
- if (!$lastupdate || ($now-$lastupdate)>300) {
- set_config('poormancron','lastupdate', $now);
- proc_run('php',"include/poller.php");
- }
+ //$now = time();
+ //$lastupdate = get_config('poormancron', 'lastupdate');
+
+ // 300 secs, 5 mins
+ //if (!$lastupdate || ($now-$lastupdate)>300) {
+ // set_config('poormancron','lastupdate', $now);
+ // proc_run('php',"include/poller.php");
+ //}
}
function poormancron_procrun(&$a, &$arr) {
+ return; // deactivated
+
if (get_config('poormancron','usecli')==1) return;
$argv = $arr['args'];
$arr['run_cmd'] = false;
* Version: 1.0
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrix>
* Author: Mike Macgirvin
+ * Status: Unsupported
*/
function procrunner_install() {
function procrunner_procrun(&$a, &$arr) {
+ return; // deactivated
$argv = $arr['args'];
$arr['run_cmd'] = false;
Smilies::add($b, ':-D', '😁');
Smilies::add($b, ':D', '😁');
Smilies::add($b, ';-)', '😉');
+ Smilies::add($b, ';)', '😉');
Smilies::add($b, ':-P', '😛');
Smilies::add($b, ':-p', '😛');
Smilies::add($b, ':-O', '😮');