No, the while loop is paused at the read step until a command is ready to run (written to the pipe).
Isnât the âif readâ check being performed as fast as possible? Constantly, until a matching command is found in the pipe?
No, âreadâ blocks until there is data to read.
Ah I wasnât aware of this in bash. Do you have a link for where this blocking behaviour is documented? Thanks for clearing that up.
One line is read from the standard inputâŚ
If you need further help on this point Iâd suggest experimenting with some scripting, starting with typing âreadâ into a terminal.
Did you have to install crontab manually on the host?
I receive the following error after sshâing into the Home Assistant host:
I wouldâve expected it to be installed by default, and canât find anyone else on the forum encountering missing crontab command.
Did you have to install crontab manually on the host?
No but this was on Raspbian v11 Linux, not HAOS.
Ah my apologies.
I can see one of the first things you wrote in the post was âa container-based HA installâ.
Makes sense now.
I can see one of the first things you wrote in the post was âa container-based HA installâ.
I did write that . . . but actually I was unaware that HAOS didnât have cron, it was more of a caveat since at that time I had never used HAOS. Iâll add a more obvious disclaimer in the OP against using HAOS.
Sorry for the wild goose chase!