Where to put user written program

Bradley Hook bhook at kssb.net
Fri Jul 20 11:00:58 CDT 2007


I personally would drop it in /etc/cron.daily

~Bradley

James Sissel wrote:
> 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
>    
>   ?
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Kclug mailing list
> Kclug at kclug.org
> http://kclug.org/mailman/listinfo/kclug



More information about the Kclug mailing list