diff options
author | zotlabs <mike@macgirvin.com> | 2018-08-28 22:43:37 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-08-28 22:43:37 -0700 |
commit | 7ecb337405aa1ca9327487eecaa352059ee65052 (patch) | |
tree | a7bc06161e119ef0f51d356271e4879925c94499 | |
parent | e4b6a143c7679428ecf7208274fddb5f1b37c70e (diff) | |
download | volse-hubzilla-7ecb337405aa1ca9327487eecaa352059ee65052.tar.gz volse-hubzilla-7ecb337405aa1ca9327487eecaa352059ee65052.tar.bz2 volse-hubzilla-7ecb337405aa1ca9327487eecaa352059ee65052.zip |
redirect stdout/stderr on cron command
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 2 | ||||
-rw-r--r-- | install/INSTALL.txt | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index fa2368a92..f74c8f11c 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -559,6 +559,8 @@ class Notifier { foreach($dhubs as $hub) { + logger('notifier_hub: ' . $hub['hubloc_url'],LOGGER_DEBUG); + if($hub['hubloc_network'] !== 'zot') { $narr = [ 'channel' => $channel, diff --git a/install/INSTALL.txt b/install/INSTALL.txt index 421656023..fe2484d7a 100644 --- a/install/INSTALL.txt +++ b/install/INSTALL.txt @@ -230,7 +230,7 @@ Change "/base/directory", and "/path/to/php" as appropriate for your situation. If you are using a Linux server, run "crontab -e" and add a line like the one shown, substituting for your unique paths and settings: -*/10 * * * * cd /home/myname/mywebsite; /usr/bin/php Zotlabs/Daemon/Master.php Cron +*/10 * * * * cd /home/myname/mywebsite; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1 You can generally find the location of PHP by executing "which php". If you have troubles with this section please contact your hosting provider for |