From c515f2a43413af6b89038795640cbf2888c81dd4 Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Thu, 17 Nov 2022 17:22:30 -0800 Subject: [PATCH] simple script to check qortal core status This script is meant to be placed on the desktop and run manually by double-clicking it and clicking 'run in terminal' - it will simply display the status of the Qortal core to the user, then tail the log for 10 minutes, and exit. This is meant to be used by QORTector with cron auto-start that doesn't show the Qortal icon, so that the user can still see the status. --- check-qortal-status.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 check-qortal-status.sh diff --git a/check-qortal-status.sh b/check-qortal-status.sh new file mode 100644 index 0000000..0949f9c --- /dev/null +++ b/check-qortal-status.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +cd ~/qortal + +./qort admin/status + +sleep 10 + +tail -f log.t* + +sleep 600 + +exit 1