Hi > > I still not get any support for the question i asked today. Please help me > with this . > > Hi, > > Could you tell me how I could use cron to send me a mail to me, > automatically every day at 12 midnight with the > > /usr/local/var/log/radius/radacct/xxx.xxx.xxx.xxx/detail-2004xxxxx file. > > > Thanks in advance. > > > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html >
Write a shell script that will cat the file you want to have mailed to you eg. #!/bin/bash cat /tmp/filnamexxx Then edit your crontab (crontab -e) to run the script nightly. Check to make sure that /etc/crontab has the MAILTO= set. If so any cronjob that runs will be mailed to this address. Alan Russell - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

