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