<?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: Default for a cron scheduled process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469907#M775110</link>
    <description>If for some reason, you cannot or do not want to edit the scripts that cron fires off, you can source your .profile within the crontab entry with normal command stacking.  &lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;00 03 * * 1-5 . .profile; my_fortran_program&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Dec 2000 01:47:16 GMT</pubDate>
    <dc:creator>Matt Livingston</dc:creator>
    <dc:date>2000-12-04T01:47:16Z</dc:date>
    <item>
      <title>Default for a cron scheduled process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469905#M775108</link>
      <description>I am having a problem with a cron scheduled job that fires off processes (C and FORTRAN) which creates directories and files.  The permissions of the resulting files and directories do not have the permissions that I expect them to have.  The processes do not set the permissions on each created file or directory, so how does a cron scheduled process determine the FMC mask it will use for a default?  Any assistance is greatly appreciated.&lt;BR /&gt;TR.a&lt;BR /&gt;</description>
      <pubDate>Sun, 03 Dec 2000 23:34:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469905#M775108</guid>
      <dc:creator>Tim Rotunda</dc:creator>
      <dc:date>2000-12-03T23:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Default for a cron scheduled process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469906#M775109</link>
      <description>Tim:&lt;BR /&gt;&lt;BR /&gt;I suspect that you normally establish your 'umask' in your '.profile'.  Cron only supplies default environmental values for your HOME, LOGNAME, PATH and SHELL.  You must either source your .profile or define the your variables "of interest" in the script that cron executes.  In your case, it sounds like simply setting the 'umask' in the cron'ed script is the appropriate choice.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 04 Dec 2000 01:25:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469906#M775109</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-12-04T01:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Default for a cron scheduled process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469907#M775110</link>
      <description>If for some reason, you cannot or do not want to edit the scripts that cron fires off, you can source your .profile within the crontab entry with normal command stacking.  &lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;00 03 * * 1-5 . .profile; my_fortran_program&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Dec 2000 01:47:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/default-for-a-cron-scheduled-process/m-p/2469907#M775110</guid>
      <dc:creator>Matt Livingston</dc:creator>
      <dc:date>2000-12-04T01:47:16Z</dc:date>
    </item>
  </channel>
</rss>

