<?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: Crontab probelm in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905945#M106097</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;      You can execute crontab if your name appears in the file&lt;BR /&gt;      /var/adm/cron/cron.allow.  If that file does not exist, you can use&lt;BR /&gt;      crontab if your name does not appear in the file&lt;BR /&gt;      /var/adm/cron/cron.deny.  If only cron.deny exists and is empty, all&lt;BR /&gt;&lt;BR /&gt; Hewlett-Packard Company            - 2 -    HP-UX Release 10.20:  July 1996&lt;BR /&gt;&lt;BR /&gt; crontab(1)                                                       crontab(1)&lt;BR /&gt;&lt;BR /&gt;      users can use crontab.  If neither file exists, only the root user can&lt;BR /&gt;      use crontab.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Steve Steel&lt;BR /&gt;&lt;BR /&gt;To meet your daily target. Aim Fir call what you hit the target</description>
    <pubDate>Mon, 17 Feb 2003 10:38:15 GMT</pubDate>
    <dc:creator>Steve Steel</dc:creator>
    <dc:date>2003-02-17T10:38:15Z</dc:date>
    <item>
      <title>Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905944#M106096</link>
      <description>Hi frens,&lt;BR /&gt;&lt;BR /&gt;I am facing some problem in executing crontab.&lt;BR /&gt;When I put a shell script i have written in crontab or even try executing it using a"at", it is not executing. But if I try executing it directly, it works.&lt;BR /&gt;Does somebody have a solution ???</description>
      <pubDate>Mon, 17 Feb 2003 10:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905944#M106096</guid>
      <dc:creator>Sameer S</dc:creator>
      <dc:date>2003-02-17T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905945#M106097</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;      You can execute crontab if your name appears in the file&lt;BR /&gt;      /var/adm/cron/cron.allow.  If that file does not exist, you can use&lt;BR /&gt;      crontab if your name does not appear in the file&lt;BR /&gt;      /var/adm/cron/cron.deny.  If only cron.deny exists and is empty, all&lt;BR /&gt;&lt;BR /&gt; Hewlett-Packard Company            - 2 -    HP-UX Release 10.20:  July 1996&lt;BR /&gt;&lt;BR /&gt; crontab(1)                                                       crontab(1)&lt;BR /&gt;&lt;BR /&gt;      users can use crontab.  If neither file exists, only the root user can&lt;BR /&gt;      use crontab.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Steve Steel&lt;BR /&gt;&lt;BR /&gt;To meet your daily target. Aim Fir call what you hit the target</description>
      <pubDate>Mon, 17 Feb 2003 10:38:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905945#M106097</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-02-17T10:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905946#M106098</link>
      <description>You can look for the error in /var/adm/cron/log file &lt;BR /&gt;and i guess you are giving the complete path of the file you are executing using cron.&lt;BR /&gt;&lt;BR /&gt;Rajeev</description>
      <pubDate>Mon, 17 Feb 2003 10:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905946#M106098</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2003-02-17T10:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905947#M106099</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;if you execute a shell-script with cron/at the /etc/profile and $HOME/.profile are not sourced, so cronjobs have an other environment.&lt;BR /&gt;&lt;BR /&gt;To be sure to have the correct environment you have to do something like that:&lt;BR /&gt;0 0 * * * (. /etc/profile; . ./.profile; &lt;YOUR script=""&gt;&lt;/YOUR&gt;&lt;BR /&gt;If you are using c-shell you have to source /etc/csh.login, $HOME/.cshrc and maybe $HOME/.login&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Mon, 17 Feb 2003 10:47:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905947#M106099</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2003-02-17T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905948#M106100</link>
      <description>I have had problems like that&lt;BR /&gt;Restarting the cron daemon does solve the problem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Mon, 17 Feb 2003 10:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905948#M106100</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2003-02-17T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905949#M106101</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;These are usually caused by environment issues.  Check out:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x04945220af9bd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x04945220af9bd5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;rgds, Robin</description>
      <pubDate>Mon, 17 Feb 2003 10:53:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905949#M106101</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2003-02-17T10:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905950#M106102</link>
      <description>Also check the special char being used. Like date +%a will work fine when you execute in shell but will not work in crontab. you will need to give escape char before %. (date +\%a)&lt;BR /&gt;&lt;BR /&gt;So if you are passing any option to your script in cron then escape it...&lt;BR /&gt;&lt;BR /&gt;hope this helps...</description>
      <pubDate>Tue, 18 Feb 2003 09:29:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905950#M106102</guid>
      <dc:creator>monasingh_1</dc:creator>
      <dc:date>2003-02-18T09:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905951#M106103</link>
      <description>Hi!&lt;BR /&gt;In addition - do you ensure the correct output&lt;BR /&gt;for your script in crontab:&lt;BR /&gt;00 10 * * * &lt;YOUR script=""&gt; &lt;YOUR_LOG&gt;&lt;BR /&gt;Regards.&lt;BR /&gt;&lt;/YOUR_LOG&gt;&lt;/YOUR&gt;</description>
      <pubDate>Tue, 18 Feb 2003 09:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905951#M106103</guid>
      <dc:creator>Stanimir</dc:creator>
      <dc:date>2003-02-18T09:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905952#M106104</link>
      <description>If you are using HP-UX 11.0 you may need to apply a cron patch.  See this posting...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70d0a848deccd61190050090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x70d0a848deccd61190050090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jim&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Feb 2003 01:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905952#M106104</guid>
      <dc:creator>Jim Walls</dc:creator>
      <dc:date>2003-02-19T01:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Crontab probelm</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905953#M106105</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;try to run it by doing a su!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;e.g. Root's cron and "yd" is the user using which the shell script works (directly)!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5    13      *     *   1  echo "/home/yd/myscript.sh"|su - yd 1&amp;gt;/home/yd/output-myscript.crn 2&amp;gt;/home/yd/error-&lt;BR /&gt;myscript.crn &lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# min|hour |day  |month|day  |script&lt;BR /&gt;#    |     |of mo|     |of wk|&lt;BR /&gt;#----|-----|-----|-----|-----|--------------------------------------------------&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# END OF TABLE           day0-&amp;gt;Sunday  day6-&amp;gt;Saturday&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;The .crn files will help you troubleshoot any further errors.&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;&lt;BR /&gt;Best Regards</description>
      <pubDate>Wed, 19 Feb 2003 08:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-probelm/m-p/2905953#M106105</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2003-02-19T08:15:20Z</dc:date>
    </item>
  </channel>
</rss>

