From 69f31ac79fc08a2286cf5c657db887591173d501 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 6 Jan 2013 21:35:28 +0000 Subject: [PATCH] Added cron.php: - This script can be called from outside cron job script or being called from command-line (e.g. php /full/path/to/script/cron.php) - The local script mode does not support parameters - TODOs.txt updated --- .gitattributes | 1 + DOCS/TODOs.txt | 1 + cron.php | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 cron.php diff --git a/.gitattributes b/.gitattributes index 50cd70f0e6..1864306d4e 100644 --- a/.gitattributes +++ b/.gitattributes @@ -96,6 +96,7 @@ DOCS/tpl-validator.php svneol=native#text/plain /birthday_confirm.php svneol=native#text/plain /click.php svneol=native#text/plain /confirm.php svneol=native#text/plain +/cron.php svneol=native#text/plain /css.php svneol=native#text/plain /debug.php svneol=native#text/plain /doubler.php svneol=native#text/plain diff --git a/DOCS/TODOs.txt b/DOCS/TODOs.txt index 222f22f2f1..ce8826bfa3 100644 --- a/DOCS/TODOs.txt +++ b/DOCS/TODOs.txt @@ -3,6 +3,7 @@ ./api.php:68:// @TODO Do stuff here ./autoreg.php:58:// @TODO Add processing of request here ./beg.php:175: // @TODO Opps, what is missing here??? +./cron.php:62:// @TODO Do stuff here ./inc/classes/cachesystem.class.php:516: // @TODO Add support for more types which break in last else-block ./inc/config-functions.php:149: // @TODO Make this all better... :-/ ./inc/config-functions.php:325: // @TODO Call setConfigEntry() somehow diff --git a/cron.php b/cron.php new file mode 100644 index 0000000000..a3caa90390 --- /dev/null +++ b/cron.php @@ -0,0 +1,68 @@ + -- 2.39.5