From 7b76efff700e141d7b0a150bb9c86dd5469fad6a Mon Sep 17 00:00:00 2001 From: crowetic <5431064+crowetic@users.noreply.github.com> Date: Mon, 15 Jul 2024 19:07:19 -0700 Subject: [PATCH] Update crontest ${HOME} --- crontest | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crontest b/crontest index 7fc5af5..f2925b0 100644 --- a/crontest +++ b/crontest @@ -7,11 +7,11 @@ #the cron settings we have here represent running the command EVERY 5 DAYS at 1:01 AM # 1 minute past the hour, 1 hour, */5 means every 5th day, then * means every month, and * means every week. -# 1 1 */5 * * /home/qortal/auto-fix-qortal.sh > "/home/qortal/qortal/auto-fix-01.log" 2>&1 +# 1 1 */5 * * ${HOME}/auto-fix-qortal.sh > "${HOME}/qortal/auto-fix-01.log" 2>&1 #crontest file testing both more 'compatible' cron entry without username folder, and run every 2 minutes to test cron entry #also removed username folder in output log, hopefully using ~/ for home/user instead. Testing... #if this works, will modify the new 'auto-fix-GUI.cron' file to use only the 1:01 AM entry with more compabible entry, and #auto-fix-qortal-GUI.desktop file instead of cron entry for @reboot, so user can SEE script output. -*/2 * * * * auto-fix-qortal.sh > "~/qortal/auto-fix-2-min-test.log" 2>&1 +*/2 * * * * ${HOME}/auto-fix-qortal.sh > "${HOME}/qortal/auto-fix-2-min-test.log" 2>&1