Re: dialup_admin.crfon

2005-03-15 Thread Nick Bright
On Tue, 2005-03-15 at 05:12, Kostas Kalevras wrote:
> On Sun, 13 Mar 2005, zack musa wrote:
> 
> > Hi
> > I try to run the script (dialup_admin.cron) to allow
> > auto update the totacct and mtotacct table. But what
> > happen is I still need to run the totacct and mtotacct
> > script manually or the .cron script;daily, to make an
> > update in my database. I disable some script such
> > truncate radacct, clean radacct from executing. Do I
> > miss something to get this auto upodate done?
> > Thanks.
> 
> You add whatever is included in dialup_admin.cron in your crontab. You don't 
> run 
> that file!

In my distribution I noticed that totacct and mtotacct were not
executeable (and should be to use them), this is probably by design as
they are high-overhead from what I can tell.

So, make them executeable if you haven't.

Also, what he said: dialup_admin.cron is not a script. It's a crontab
file. You can either copy and paste its' contents into your contrab, or
copy the file to /etc/cron.d/ which will automatically include it in the
system crontab.

> 
> >
> >
> >
> > __
> > Do you Yahoo!?
> > Yahoo! Small Business - Try our new resources site!
> > http://smallbusiness.yahoo.com/resources/
> >
> > -
> > List info/subscribe/unsubscribe? See 
> > http://www.freeradius.org/list/users.html
> >
> 
> --
> Kostas Kalevras   Network Operations Center
> [EMAIL PROTECTED] National Technical University of Athens, Greece
> Work Phone:   +30 210 7721861
> 'Go back to the shadow'   Gandalf
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- 
- Nick Bright
  Terraworld, Inc
  888-332-1616 x315
  http://home.terraworld.net


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: dialup_admin.crfon

2005-03-15 Thread Kostas Kalevras
On Sun, 13 Mar 2005, zack musa wrote:
Hi
I try to run the script (dialup_admin.cron) to allow
auto update the totacct and mtotacct table. But what
happen is I still need to run the totacct and mtotacct
script manually or the .cron script;daily, to make an
update in my database. I disable some script such
truncate radacct, clean radacct from executing. Do I
miss something to get this auto upodate done?
Thanks.
You add whatever is included in dialup_admin.cron in your crontab. You don't run 
that file!


__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
Kostas Kalevras Network Operations Center
[EMAIL PROTECTED]   National Technical University of Athens, Greece
Work Phone: +30 210 7721861
'Go back to the shadow' Gandalf
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


dialup_admin.crfon

2005-03-13 Thread zack musa
Hi 
I try to run the script (dialup_admin.cron) to allow
auto update the totacct and mtotacct table. But what
happen is I still need to run the totacct and mtotacct
script manually or the .cron script;daily, to make an
update in my database. I disable some script such
truncate radacct, clean radacct from executing. Do I
miss something to get this auto upodate done?
Thanks. 



__ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html