How to run a bash sccript that uses gui functions every 15 minutes automatically?

I’m sorry, I dont quite understand what your saying, could you please clarify?

Just a suggestion on that code,

doesExist=$(cat "$sloc/$1stream_state.txt" | grep -i -m 1 "$todaysDateNumber")

you could probably change it to

doesExist=$(grep  -m 1 -if  "$sloc/$1stream_state.txt" "$todaysDateNumber" 2>&1)

or if you’re just interested if there is a match of not then you might just need the -q flag
just my two cents.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.