-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2014-08-05 a las 15:01 +0200, Carlos E. R. escribió:
An alternative I could try is launch the script using the "at" daemon. It should not die and be independent.
I try this: minas-tirith:~ # at now /usr/local/bin/nm-hook-mine-up syntax error. Last token seen: / Garbled time minas-tirith:~ # which I thought might be possible looking at the manual: SYNOPSIS at [-V] [-q queue] [-f file] [-mMlv] timespec... at [-V] [-q queue] [-f file] [-mMkv] [-t time] at -c job [job...] atq [-V] [-q queue] at [-rd] job [job...] atrm [-V] job [job...] batch at -b But no, it is expecting a job delete. So I tried this instead: minas-tirith:~ # echo "/usr/local/bin/nm-hook-mine" | at now +1s syntax error. Last token seen: s Garbled time minas-tirith:~ # which also fails... Maybe "at -f somefile". I need a break, lunch, go shopping... - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlPg2lwACgkQja8UbcUWM1wzZQEAjxM6VxeIVPO3jrrCrVDd17sD AfXTNPlT/sTGfWeF3pAA/26XxpjGnRm8MEb61cNBvuha3Gm1Nm3uUGjc9NTGNAsJ =OEOe -----END PGP SIGNATURE-----