From c926982281dae1740d8895f53c70b12e436385ab Mon Sep 17 00:00:00 2001 From: mortee Date: Fri, 16 Feb 2024 17:05:28 +0100 Subject: cosmetic docs changes Co-authored-by: Sean Molenaar Signed-off-by: mortee --- docs/troubleshooting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 39677b564..9c24cae1a 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -77,8 +77,8 @@ The same check that is done in the News admin settings can be done using occ too Adding the --check-elapsed option displays the time elapsed since the last execution, and if it's considered too long ago, a message will be displayed, and the command returns with exit code 2. This can be used in scripts to send an alert for example. -```bash -sudo -u www-data php ./occ news:updater:job --check-elapsed +```console +$ sudo -u www-data php ./occ news:updater:job --check-elapsed Checking update Status Last Execution was 2023-03-20 12:20:03 UTC 8 hours, 21 minutes, 20 seconds ago -- cgit v1.2.3