<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Survey: Best Practice on cronjob location in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400164#M200635</link>
    <description>We have them (only 2) in /pro/local/bin&lt;BR /&gt;&lt;BR /&gt;/pro for PROCURA, where all is installed that is - well - needed for procura applications and not part of the base system&lt;BR /&gt;&lt;BR /&gt;/usr/local/scripts might be a suggestion, but your /home/root/cron sounds sensible too&lt;BR /&gt;&lt;BR /&gt;Maybe more important than where the *scripts* are located is where you gather the log(s)&lt;BR /&gt;&lt;BR /&gt;/var/tmp&lt;BR /&gt;/var/cron.out&lt;BR /&gt;/tmp&lt;BR /&gt;/usr/tmp&lt;BR /&gt;/home/root/cron.out (bad choice IMHO)&lt;BR /&gt;&lt;BR /&gt;or to mail&lt;BR /&gt;&lt;BR /&gt;Whatever you choose, be sure you READ the log!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
    <pubDate>Thu, 14 Oct 2004 10:45:06 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2004-10-14T10:45:06Z</dc:date>
    <item>
      <title>Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400158#M200629</link>
      <description>So what's the consensus on where to put root scripts run by cron.  Lets limit the discussion to just system administration/housekeeping tasks.&lt;BR /&gt;&lt;BR /&gt;I'm of the opinion /root/cron  (Or /home/root/cron)&lt;BR /&gt;&lt;BR /&gt;Opinions?</description>
      <pubDate>Thu, 14 Oct 2004 10:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400158#M200629</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2004-10-14T10:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400159#M200630</link>
      <description>Don't think it really matters where you put them.  Just make SURE they're not world or group writable, otherwise you're asking for trouble!&lt;BR /&gt;&lt;BR /&gt;For reference I currently use /usr/local/housekeeping/.  Also if you package them up in a bundle, you can easily distribute them to all your servers.  I'd prefer to use /root/ for temporary scripts.&lt;BR /&gt;&lt;BR /&gt;It's all personal opinion really, no hard-and-fast rules, except the permissions!</description>
      <pubDate>Thu, 14 Oct 2004 10:41:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400159#M200630</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2004-10-14T10:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400160#M200631</link>
      <description>/usr/local/bin /usr/local/sbin&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 14 Oct 2004 10:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400160#M200631</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-10-14T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400161#M200632</link>
      <description>Hmm...That depends.  Are these scripts JUST run by cron?  Are they ever used interactively by the sys admin?&lt;BR /&gt;&lt;BR /&gt;For root / sys-admin / house cleaning scripts I prefer /home/root/scripts.&lt;BR /&gt;&lt;BR /&gt;If you have things that are ONLY run from cron, I might then use /home/root/cron, but I have very few like that.</description>
      <pubDate>Thu, 14 Oct 2004 10:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400161#M200632</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-10-14T10:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400162#M200633</link>
      <description>Since most of the scripts I run with cron are developed at home, I keep them here:&lt;BR /&gt;&lt;BR /&gt;/usr/contrib/bin&lt;BR /&gt;&lt;BR /&gt;Because they are user contributed scripts, with the user sometimes being a dba, me or even a programmer.&lt;BR /&gt;&lt;BR /&gt;We keep oracle scripts in a different location, as well as other applications.  Still, in general, /usr/contrib/bin works for us.&lt;BR /&gt;&lt;BR /&gt;We keep permissions tight so syadmin has control of what code runs.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 14 Oct 2004 10:42:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400162#M200633</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-10-14T10:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400163#M200634</link>
      <description>I agree with you tererence. I prefer to have a separte home dir for root. (I make it /home/root)&lt;BR /&gt;&lt;BR /&gt;It is easy to manage and put all root related stuff there. As a root, I do lot os scripts, collect data and things like that. So I do not want to go on looking for it at different places. good to put it in /home/root or /root&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Thu, 14 Oct 2004 10:43:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400163#M200634</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-10-14T10:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400164#M200635</link>
      <description>We have them (only 2) in /pro/local/bin&lt;BR /&gt;&lt;BR /&gt;/pro for PROCURA, where all is installed that is - well - needed for procura applications and not part of the base system&lt;BR /&gt;&lt;BR /&gt;/usr/local/scripts might be a suggestion, but your /home/root/cron sounds sensible too&lt;BR /&gt;&lt;BR /&gt;Maybe more important than where the *scripts* are located is where you gather the log(s)&lt;BR /&gt;&lt;BR /&gt;/var/tmp&lt;BR /&gt;/var/cron.out&lt;BR /&gt;/tmp&lt;BR /&gt;/usr/tmp&lt;BR /&gt;/home/root/cron.out (bad choice IMHO)&lt;BR /&gt;&lt;BR /&gt;or to mail&lt;BR /&gt;&lt;BR /&gt;Whatever you choose, be sure you READ the log!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 14 Oct 2004 10:45:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400164#M200635</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-10-14T10:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400165#M200636</link>
      <description>Hi Terrence,&lt;BR /&gt;&lt;BR /&gt;We keep a separate file system for all our applications called /apps, with it's own directory structure beneath to keep everything organized.  Originally it was intended strictly for our own application programs, but after losing a script that was probably in /usr/local/bin (or something like that) during an install, I decided to take advantage of that separate file system for all my root scripts as well.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 14 Oct 2004 10:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400165#M200636</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-10-14T10:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400166#M200637</link>
      <description>I think location isn't as important as permissions.&lt;BR /&gt;&lt;BR /&gt;For example, I have some cron jobs run as root, but the scripts are in SAP filesystems - like /APPL &lt;BR /&gt;&lt;BR /&gt;For OS, most of mine are in /usr/local/bin - with permissions 750&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 14 Oct 2004 11:02:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400166#M200637</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-10-14T11:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400167#M200638</link>
      <description>We keep shell and perl scripts in /usr/scripts.  All log and error files are written in /tmp/.  We have  /, /home /tmp, /var, and /usr as seperate file systems to avoid hanging the system. As little as possible is put in /, and nothing we develop ever writes to /var/tmp, again to avoid filing a file system via a run-away process.&lt;BR /&gt;&lt;BR /&gt;In the past, I've seen OS upgrades on non-HP systems (IBM &amp;amp; DEC) wipe-out everything in /usr/local and in root's home directory, so out of longstanding habit I don't put anything in either of those locations if I can avoid doing so.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Thu, 14 Oct 2004 11:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400167#M200638</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-10-14T11:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400168#M200639</link>
      <description>/.root/Local/cron_scripts&lt;BR /&gt;&lt;BR /&gt;This is what I do in my setup. &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Prashant</description>
      <pubDate>Thu, 14 Oct 2004 11:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400168#M200639</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2004-10-14T11:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Survey: Best Practice on cronjob location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400169#M200640</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Good question.  We seem to keep ours in a few places:&lt;BR /&gt;&lt;BR /&gt;/root_home/bin&lt;BR /&gt;/usr/local/bin&lt;BR /&gt;/opt/local/bin&lt;BR /&gt;&lt;BR /&gt;We should standardize on one place, but we haven't.  Maybe next time.  :)&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Oct 2004 13:23:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/survey-best-practice-on-cronjob-location/m-p/3400169#M200640</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-10-14T13:23:43Z</dc:date>
    </item>
  </channel>
</rss>

