Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have written some scripts which are run by cron at various times of the day. The scripts perform some system related activities. I have placed the scripts at /root. Is there any convention/standard for placing custom written system scripts elsewhere in the filesystem?
personally I hate the concept of /usr/local. To me /usr/local is for those that don't want to bother with proper installation of packages.
On the other hand. If you have several computers that all pull their base system from NFS then /usr/local makes some sense to customizing each machine. On the other hand of that hand though, storage space is cheap. Unless your computer is really old, you probably arn't going to be doing that set up for a home network.
I put individual user's cron scripts in ~/cron, and common ones in /home/cron. The reason I put the common ones there is they get caught by my backup procedures, whereas I don't want to be backing up /usr/bin.