<?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: absolute path name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834241#M779113</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The substitution ~something works, even in crontab if "something" is a username, it does not mean /home/something.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
    <pubDate>Mon, 31 Jul 2006 14:37:58 GMT</pubDate>
    <dc:creator>Victor Fridyev</dc:creator>
    <dc:date>2006-07-31T14:37:58Z</dc:date>
    <item>
      <title>absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834236#M779108</link>
      <description>Hi guys, well we have a cron job running where we are using ~directoryname but it is not working. Now, if i give it absolute path name like /home/directoryname will it work.&lt;BR /&gt;&lt;BR /&gt;Any suggestions.</description>
      <pubDate>Mon, 31 Jul 2006 13:32:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834236#M779108</guid>
      <dc:creator>khilari</dc:creator>
      <dc:date>2006-07-31T13:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834237#M779109</link>
      <description>Yes - use always use absolute path names for cron jobs.  When run through cron, jobs end up having a very sparse environment:  variables are not set, the PATH is minimal.  These things need to be taken into account when you write your script.&lt;BR /&gt;&lt;BR /&gt;Check the man page for crontab to see the environment limitations.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 31 Jul 2006 13:35:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834237#M779109</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-07-31T13:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834238#M779110</link>
      <description>from the crontab manpage:&lt;BR /&gt;&lt;BR /&gt;"cron supplies a default environment for every shell, defining: &lt;BR /&gt;&lt;BR /&gt;HOME=user's-home-directory&lt;BR /&gt;LOGNAME=user's-login-id&lt;BR /&gt;PATH=/usr/bin:/usr/sbin:.&lt;BR /&gt;SHELL=/usr/bin/sh&lt;BR /&gt;...&lt;BR /&gt;"&lt;BR /&gt;&lt;BR /&gt;If you like to have another environment, you have to create it.</description>
      <pubDate>Mon, 31 Jul 2006 13:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834238#M779110</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2006-07-31T13:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834239#M779111</link>
      <description>To the best that I know, tilde substitution does not work in a cron initiated session. You have to provide the full path to any file you desire to use.</description>
      <pubDate>Mon, 31 Jul 2006 13:47:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834239#M779111</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2006-07-31T13:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834240#M779112</link>
      <description>&lt;BR /&gt;normally you need to use absolute paths in cron.&lt;BR /&gt;&lt;BR /&gt;however, if you are performing a su comand from the the root crontab such as su - oracle -c "dbshut" then the oracle ID's environment gets loaded before the command is issued.  &lt;BR /&gt;&lt;BR /&gt;However, even in this case, you are better off using absolute paths in order to ensure the commands works as expected.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 31 Jul 2006 13:56:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834240#M779112</guid>
      <dc:creator>DCE</dc:creator>
      <dc:date>2006-07-31T13:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: absolute path name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834241#M779113</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The substitution ~something works, even in crontab if "something" is a username, it does not mean /home/something.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 31 Jul 2006 14:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/absolute-path-name/m-p/3834241#M779113</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-07-31T14:37:58Z</dc:date>
    </item>
  </channel>
</rss>

