Where to put user written program
Scott Oertel
freebsd at scottevil.com
Fri Jul 20 14:31:44 CDT 2007
djgoku wrote:
> On 7/18/07, James Sissel <jimsissel at 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
>>
>
> /root/bin/*
> _______________________________________________
> Kclug mailing list
> Kclug at kclug.org
> http://kclug.org/mailman/listinfo/kclug
>
I agree, any script that I write the performs a system function and is
not part of the provisioning system usually goes in /root/bin
-Scott Oertel
More information about the Kclug
mailing list