diff options
author | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-03-04 14:52:12 +0100 |
commit | ffb791968e48b5699dc99fffccc562f198f86c5d (patch) | |
tree | 4b53eeae5f9236f76f6ba4baee00b0a08adafe50 /include/poller.php | |
parent | 636a52d001be9bce66f5b2fd7313ffa6540a97e4 (diff) | |
parent | 5b33d98f0814a2fcb23ad78d2442ebecc85d4fb5 (diff) | |
download | volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.gz volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.tar.bz2 volse-hubzilla-ffb791968e48b5699dc99fffccc562f198f86c5d.zip |
Merge branch 'master' of https://github.com/friendica/red
Diffstat (limited to 'include/poller.php')
-rw-r--r-- | include/poller.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/poller.php b/include/poller.php index 77452cafa..649da30f6 100644 --- a/include/poller.php +++ b/include/poller.php @@ -96,9 +96,13 @@ function poller_run($argv, $argc){ $dirmode = get_config('system','directory_mode'); + /** + * Cron Daily + * + * Actions in the following block are executed once per day, not on every poller run + * + */ - // Actions in the following block are executed once per day, not on every poller run - if($d2 != intval($d1)) { // expire any read notifications over a month old @@ -121,6 +125,7 @@ function poller_run($argv, $argc){ set_config('system','last_expire_day',$d2); + proc_run('php','include/expire.php'); proc_run('php','include/cli_suggest.php'); } |