I run a backup-script with a rule by pimatic. Sometimes the backup takes several minutes. I noticed, that during running this script, my shell-sensors do not get updated. Is that normal behavior? Can i run my backup-script somehow in background to avoid that?
Shell execute plugin - multiple processes
You can try to put a “&” at the end of the command. So the shell will not wait until the script has finished
Is that normal behavior?
It should not block unless you have set
truein the plugin configuration
Can i run my backup-script somehow in background to avoid that?
Do you really need to run the backup script via pimatic shell execute?
May be you can use cron instead.
If not, here some hints on moving a shell scipt to he background:
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law