On Saturday 12 April 2008 07:22:46 Col Ferguson wrote: > Thanks for the idea Zoa. > > I've got the cronjob working every minute now using > > if [ -f /var/log/asterisk/cdr-custom/Master.csv ] > then > cd /var/log/asterisk/cdr-custom > mv -f Master.csv out1.csv > cat out1.csv > /dev/ttyS0 > fi > > Using tail -f would give me the realtime output, but a few questions as a > real linux novice; > What would be the best way to start this up ? > How would I monitor it to make sure it hasn't died, and how to restart ?
Best way would be to use inittab, with respawn, if it dies. Note that on very recent Linux distributions, such as Ubuntu, /etc/inittab has been replaced with a directory, /etc/events.d/ -- Tilghman _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users