From 6499e31241e85f694027203399f2f41500668c60 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 6 Aug 2021 00:15:58 +0200 Subject: [PATCH] /home/$YOU/.zen/A_Station_ON --- cron_MINUTE.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 6c212fa..4e86a4b 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -76,10 +76,10 @@ dayofthemonth=$(date +%d) weeknumber=$(date +%V) # WAKEUP TIME -if [[ ! -f /tmp/A_Station_ON ]]; then - echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /tmp/A_Station_ON +if [[ ! -f /home/$YOU/.zen/A_Station_ON ]]; then + echo "onheure=$heure; onminute=$minute; ontimebar=$timebar" > /home/$YOU/.zen/A_Station_ON else - source /tmp/A_Station_ON + source /home/$YOU/.zen/A_Station_ON old=$ontimebar new=$timebar # feeding variables by using read and splitting with IFS