RE: Support Needed
On Thu, 2004-04-08 at 15:05, M.Bilal Fassy wrote: > Yes I understand its not a freeradius question. But has anyone done this > before. This is because im using freeradius for h323 records. Shouldn't top post. This is a forum for FreeRADIUS. If you know it is not a FreeRADIUS question, why post it here? Yes, I've done this before. If you understand what cron is and how to use mail on the command line (both of which are very basic unix operations), then this question is obvious. Hence "man cron", "man sendmail" is what you need. Hint, you will also need a pipe "|" (see "man bash") unless you use the MAILTO option that someone else mentioned. oh hell... 0 0 * * * cat /path/filename | mail [EMAIL PROTECTED] Now go read the docs so you know what everything does -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Support Needed
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-2004x 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
RE: Support Needed
> The URL you had given bellow does not sate anything. > Yes, actually, it does. -- __ Mike Ockenga, CCNP [EMAIL PROTECTED] - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
Yes I understand its not a freeradius question. But has anyone done this before. This is because im using freeradius for h323 records. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dennis Skinner Sent: Friday, April 09, 2004 12:59 AM To: [EMAIL PROTECTED] Subject: RE: Support Needed On Thu, 2004-04-08 at 14:41, M.Bilal Fassy wrote: > Hi > > I still not get any support for the question i asked today. Please help me > with this . Perhaps because this is not a FreeRADIUS question? man cron man sendmail man bash Any other work on your plate you need us to do for you? > 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-2004x file. > > > Thanks in advance. -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
Dear Troy, The URL you had given bellow does not sate anything. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Troy Winemiller Sent: Friday, April 09, 2004 12:50 AM To: [EMAIL PROTECTED] Subject: RE: Support Needed Not really a freeradius problem. Give this a look. http://www.linuxquestions.org/questions/showthread.php?s=&forumid=46&thr eadid=163805 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M.Bilal Fassy Sent: Thursday, April 08, 2004 2:41 PM To: [EMAIL PROTECTED] Subject: RE: Support Needed 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-2004x 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
On Thu, 2004-04-08 at 14:41, M.Bilal Fassy wrote: > Hi > > I still not get any support for the question i asked today. Please help me > with this . Perhaps because this is not a FreeRADIUS question? man cron man sendmail man bash Any other work on your plate you need us to do for you? > 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-2004x file. > > > Thanks in advance. -- Dennis Skinner Systems Administrator BlueFrog Internet http://www.bluefrog.com - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
Not really a freeradius problem. Give this a look. http://www.linuxquestions.org/questions/showthread.php?s=&forumid=46&thr eadid=163805 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of M.Bilal Fassy Sent: Thursday, April 08, 2004 2:41 PM To: [EMAIL PROTECTED] Subject: RE: Support Needed 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-2004x 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
> 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-2004x > file. > > > Thanks in advance. > That's not a question for the FreeRadius list as it isnt a problem with FreeRadius. You might try posting to a basic Unix Administration list. Jacob - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
RE: Support Needed
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-2004x 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