It is i think something with zsh -c "mycommand"
Something with an &
Something with nohup
Something like ?
There is also "daemon" ???
The script produces some output.
The script has "pv" in it showing how far
The proces dies without a snapshot, I'm doing something wrong because it does not work non-interactive.
Running " /root/bin/snapshot_usr_home_0h" from command line works fine.
Do rc.local scripts have the right root privileges ?
Something with an &
Something with nohup
Something like ?
Code:
nohup /usr/local/bin/zsh -c "sleep 120;logger snapshot0h;nohup /root/bin/snapshot_usr_home_0h &" &
The script produces some output.
The script has "pv" in it showing how far
The proces dies without a snapshot, I'm doing something wrong because it does not work non-interactive.
Running " /root/bin/snapshot_usr_home_0h" from command line works fine.
Do rc.local scripts have the right root privileges ?