I edited my crontab to explicitly define the path to the special file,
however it still fails to create a dtach instance:

~$ crontab -l | grep irssi
@reboot /home/bb/bin/dtach -n /home/bb/.dtach/irssi irssi 2>&1 > 
~/.dtach/irssi.cron
~$ ls -l ~/.dtach/
total 0
-rw-r--r--  1 bb bb 0 2007-08-29 11:15 irssi.cron
~$ cat ~/.dtach/irssi.cron
~$ 

The fact that ~/.dtach/irssi.cron is created, but is empty, suggests
that the crontab entry was executed but without any error message
generated.

Fwiw, I would expect dtach to issue an error if the ~ was not
expanded, and indeed it does:

~$ /home/bb/bin/dtach -n '~/.dtach/irssi' irssi < /dev/null
/home/bb/bin/dtach: ~/.dtach/irssi: No such file or directory
~$ /home/bb/bin/dtach -n ~/.dtach/irssi irssi < /dev/null
~$ ls -l ~/.dtach/
total 0
srw-------  1 bb bb 0 2007-08-29 11:18 irssi
-rw-r--r--  1 bb bb 0 2007-08-29 11:15 irssi.cron
~$



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to