<?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 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077682#M30202</link>
    <description>Hi,&lt;BR /&gt;look at the crontab log file to see what's the error. MAybe you have reached the maximun number of process available.&lt;BR /&gt;Just my .02$&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
    <pubDate>Tue, 02 Oct 2007 03:00:11 GMT</pubDate>
    <dc:creator>Arturo Galbiati</dc:creator>
    <dc:date>2007-10-02T03:00:11Z</dc:date>
    <item>
      <title>crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077669#M30189</link>
      <description>Red Hat Enterprise Linux AS 3U6&lt;BR /&gt;&lt;BR /&gt;I have a crontab for oracle user and everithing seems to be well but it does not execute.&lt;BR /&gt;&lt;BR /&gt;I can execute manually the script, but it is never execute by the crontab.&lt;BR /&gt;&lt;BR /&gt;Any ideas abot what to check?</description>
      <pubDate>Thu, 27 Sep 2007 13:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077669#M30189</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T13:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077670#M30190</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;cron has a limited environment. The most common problem is the PATH variable is not the same.&lt;BR /&gt;&lt;BR /&gt;From command line:&lt;BR /&gt;&lt;BR /&gt;env &amp;gt; /tmp/env.txt&lt;BR /&gt;&lt;BR /&gt;Some environment variable in that file is missing when cron runs.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Sep 2007 13:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077670#M30190</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-27T13:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077671#M30191</link>
      <description>This is mis script:&lt;BR /&gt;&lt;BR /&gt;export ORACLE_SID=lcprod01n1&lt;BR /&gt;export ORACLE_HOME=/opt/oracle/rdbms/9.2.0&lt;BR /&gt;echo "Inicia "$ORACLE_SID": "$(date +"%Y-%m-%d %H:%M.%S") &amp;gt;&amp;gt; /home/oracle/runstat.log&lt;BR /&gt;$ORACLE_HOME/bin/sqlplus /nolog @/home/oracle/scripts/runstat.sql&lt;BR /&gt;echo "Termina "$ORACLE_SID": "$(date +"%Y-%m-%d %H:%M.%S") &amp;gt;&amp;gt; /home/oracle/runstat.log&lt;BR /&gt;&lt;BR /&gt;If the problem would be the envirnoment, at least the line where I log the "inicia (start)" should be executed, but does not.</description>
      <pubDate>Thu, 27 Sep 2007 13:40:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077671#M30191</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T13:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077672#M30192</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;90% of the time its the PATH variable.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 27 Sep 2007 14:30:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077672#M30192</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-09-27T14:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077673#M30193</link>
      <description>Can you post the crontab entry? Let's see what may be wrong.</description>
      <pubDate>Thu, 27 Sep 2007 14:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077673#M30193</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-27T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077674#M30194</link>
      <description>$ crontab -l&lt;BR /&gt;58 20 * * * /home/oracle/scripts/runstat.sh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Sep 2007 14:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077674#M30194</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T14:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077675#M30195</link>
      <description>Please change to:&lt;BR /&gt;&lt;BR /&gt;$ crontab -l&lt;BR /&gt;58 20 * * * /home/oracle/scripts/runstat.sh &amp;gt; /tmp/runstat.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Set the time execute right now and then post the /tmp/runstat.log file.</description>
      <pubDate>Thu, 27 Sep 2007 14:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077675#M30195</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-27T14:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077676#M30196</link>
      <description>Ivan,&lt;BR /&gt;&lt;BR /&gt;The /tmp/runstat.log was not generated. The script was never executed.</description>
      <pubDate>Thu, 27 Sep 2007 15:42:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077676#M30196</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T15:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077677#M30197</link>
      <description>Wow, please post the output of:&lt;BR /&gt;&lt;BR /&gt;service crond status &lt;BR /&gt;&lt;BR /&gt;tail /var/log/cron&lt;BR /&gt;&lt;BR /&gt;Or check in /var/log/cron what happened with your job.</description>
      <pubDate>Thu, 27 Sep 2007 15:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077677#M30197</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-27T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077678#M30198</link>
      <description>[root@ita1 mail]# service crond status &lt;BR /&gt;crond (pid 12343) is running...&lt;BR /&gt;[root@ita1 mail]# tail /var/log/cron&lt;BR /&gt;Sep 27 21:40:06 ita1 crontab[12805]: (oracle) REPLACE (oracle)&lt;BR /&gt;Sep 27 21:40:06 ita1 crontab[12805]: (oracle) END EDIT (oracle)&lt;BR /&gt;Sep 27 21:41:01 ita1 crond[12343]: (oracle) RELOAD (cron/oracle)&lt;BR /&gt;Sep 27 22:01:01 ita1 crond[13006]: (root) CMD (run-parts /etc/cron.hourly)&lt;BR /&gt;Sep 27 22:25:44 ita1 crontab[13222]: (oracle) BEGIN EDIT (oracle)&lt;BR /&gt;Sep 27 22:26:02 ita1 crontab[13222]: (oracle) END EDIT (oracle)&lt;BR /&gt;Sep 27 22:26:09 ita1 crontab[13225]: (oracle) BEGIN EDIT (oracle)&lt;BR /&gt;Sep 27 22:26:29 ita1 crontab[13225]: (oracle) REPLACE (oracle)&lt;BR /&gt;Sep 27 22:26:29 ita1 crontab[13225]: (oracle) END EDIT (oracle)&lt;BR /&gt;Sep 27 22:27:01 ita1 crond[12343]: (oracle) RELOAD (cron/oracle)</description>
      <pubDate>Thu, 27 Sep 2007 16:02:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077678#M30198</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T16:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077679#M30199</link>
      <description>Is your system time correct? Have you recently changed your timezone or something? What was the time for the job to be executed, as in the log shows, it never run.&lt;BR /&gt;&lt;BR /&gt;If you changed the timezone or something, restart the cron service, may not be using the right date time.</description>
      <pubDate>Thu, 27 Sep 2007 16:20:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077679#M30199</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-27T16:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077680#M30200</link>
      <description>The timezone is correct. This server has just been installed recently.&lt;BR /&gt;&lt;BR /&gt;I check que date of the system just before to set the new time for the cron everytime I perform a new test.</description>
      <pubDate>Thu, 27 Sep 2007 16:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077680#M30200</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2007-09-27T16:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077681#M30201</link>
      <description>Hi,&lt;BR /&gt;is it your script executable?&lt;BR /&gt;how you run it manually?&lt;BR /&gt;put at the first line&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Tue, 02 Oct 2007 02:58:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077681#M30201</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-10-02T02:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077682#M30202</link>
      <description>Hi,&lt;BR /&gt;look at the crontab log file to see what's the error. MAybe you have reached the maximun number of process available.&lt;BR /&gt;Just my .02$&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Tue, 02 Oct 2007 03:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/4077682#M30202</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-10-02T03:00:11Z</dc:date>
    </item>
  </channel>
</rss>

