Hello!

I have a very simple bash script:

#!/bin/bash
asterisk -rx "sip show peers" > /var/log/devices

When I run it in bash shell, everything works fine, but if I
background it (by adding & or using bg), nothing appears in the
/var/log/devices file.

Any reason for this behavior or help would be great!

Thanks,
Elliot

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to