18 Jul
2007
18 Jul
'07
6:12 p.m.
On 7/18/07, James Sissel <jimsissel@yahoo.com> 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
http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard /usr/sbin/ -- Non-essential system binaries (e.g. daemons for various network-services). or /usr/local/bin/