Where to put user written program

brad at bradandkim.net brad at bradandkim.net
Wed Jul 18 12:37:48 CDT 2007


> I'm using Ubuntu 6.06 for my web server.  I've written a Perl program to
> parse my /var/log/messages file and place certain data into a mySQL
> database.  I use PHP to read that database and create a nice webpage for
> myself to I can check the log easily.  The question is, where should I
> place the Perl program?  It should only be run as root and I'd like to
> create a daily cron job to run it.  Options are (among others):
>
>   /bin
>   /sbin
>   /root
>
>   ?
> _______________________________________________

I would probably make a /root/bin directory and put it in there.

Brad Crotchett
brad at bradandkim.net
http://www.bradandkim.net



More information about the Kclug mailing list