I have run log_badlogins from the command line and it does work. I was just wondering where the best place to run the script is from. it should always be running so a cron job is not necessary. should i just have it run when the radius server starts up? Thanks, Avrohom