From c62acfb76be6b99b898cbc4acbfaa93a7530ab95 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 8 Oct 2024 12:20:23 +0200 Subject: [SSPS] slxadmin-cron: Write to stdout too now that it goes to journal --- satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript | 1 + 1 file changed, 1 insertion(+) (limited to 'satellit_installer') diff --git a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript index 9ff600b..7a2aa63 100755 --- a/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript +++ b/satellit_installer/static_files/slxadmin/opt/openslx/slxadmin-cronscript @@ -12,6 +12,7 @@ FILE=$(mktemp) if ! timeout -k 3 60 php /srv/openslx/www/slx-admin/api.php cron >"$FILE" 2>&1; then php /srv/openslx/www/slx-admin/api.php cron --crashreport "$FILE" fi +cat "$FILE" rm -f -- "$FILE" "$PIDFILE" exit 0 -- cgit v1.2.3-55-g7522