<?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: cronjob is not running on Sun Solaris in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914263#M285010</link>
    <description>let's try this example:&lt;BR /&gt;&lt;BR /&gt;1. su - oracle&lt;BR /&gt;2. crontab -l&lt;BR /&gt;do you see any entries for this user oracle ?&lt;BR /&gt;&lt;BR /&gt;if not, then you do NOT have an entry or cron entry for this user..&lt;BR /&gt;&lt;BR /&gt;also note: crontab works on user account names.. so study the "cron.allow" file..&lt;BR /&gt;&lt;BR /&gt;search:  &lt;A href="http://docs.hp.com" target="_blank"&gt;http://docs.hp.com&lt;/A&gt;&lt;BR /&gt;and enter string:  cron.allow&lt;BR /&gt;or string: cron&lt;BR /&gt;&lt;BR /&gt;keep in mind: HP-UX rules, just joking but it's true.</description>
    <pubDate>Mon, 18 Dec 2006 23:50:59 GMT</pubDate>
    <dc:creator>D Block 2</dc:creator>
    <dc:date>2006-12-18T23:50:59Z</dc:date>
    <item>
      <title>cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914257#M285004</link>
      <description>Hi guys. I am having Sun OS  and I want to run cronjob. &lt;BR /&gt;1) I created a file named ora10r2 under  /var/spool/cron/crontabs/ directory.&lt;BR /&gt;In ora10r2 file I am a calling a script called test.sh which runs at 2:55pm.&lt;BR /&gt;55 14 * * * /01/mustu/test.sh  /u01/mustu/test.log 2&amp;gt;&amp;amp;1&lt;BR /&gt;&lt;BR /&gt;test.sh file exist under /01/mustu and it is having full permission.&lt;BR /&gt;&lt;BR /&gt;but it is not running.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Dec 2006 07:52:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914257#M285004</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-17T07:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914258#M285005</link>
      <description>So why not simply ask your friendly Sun or Orale support team for help!?&lt;BR /&gt;&lt;BR /&gt;If you want to use this forum, maybe because the hpux folks are nicer? then be sure to look around first.&lt;BR /&gt;&lt;BR /&gt;This question has been asked and answerred many times before:&lt;BR /&gt;&lt;BR /&gt;google: +cron +oracle +site:itrc.hp.com &lt;BR /&gt;&lt;BR /&gt;Make sure that while testing the script starts with a simple echo/print "hello world" to be able to clearly distinguish not-running from not-running-correctly.&lt;BR /&gt;Next put an 'env' in there.&lt;BR /&gt;&lt;BR /&gt;:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=83820" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=83820&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106223" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=106223&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Dec 2006 09:25:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914258#M285005</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2006-12-17T09:25:17Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914259#M285006</link>
      <description>Did you just manually create the file ora10r2 and then edit it with vi?  If so, that won't work.  Cron doesn't know anything about the job yet.&lt;BR /&gt;&lt;BR /&gt;Another thing, is ora10r2 an actual user?  If not, then it won't work either.  Crontab files must be named just like users.&lt;BR /&gt;&lt;BR /&gt;If ora10r2 is a user, then try this:&lt;BR /&gt;&lt;BR /&gt;# su - ora10r2&lt;BR /&gt;to become the user.&lt;BR /&gt;&lt;BR /&gt;# crontab -e&lt;BR /&gt;to edit the crontab file.  Now make sure the job looks right.  Now save and quit out of the file.&lt;BR /&gt;&lt;BR /&gt;After that it should run at 14:55 daily.  &lt;BR /&gt;&lt;BR /&gt;You may also want to verify the permissions on the ora10r2 file are correct.  They should be the same as the other files in the crontab directory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Dec 2006 11:06:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914259#M285006</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2006-12-17T11:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914260#M285007</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;a) Other respondents are right. You do not&lt;BR /&gt;add crontab into /var/spool/cron/crontabs directory manually.&lt;BR /&gt;&lt;BR /&gt;It is best to do it via command:&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;&lt;BR /&gt;b) In Solaris, you can also use&lt;BR /&gt;files to update the cron jobs. For example&lt;BR /&gt;&lt;BR /&gt;crontab /var/tmp/neworacle.txt&lt;BR /&gt;&lt;BR /&gt;When crontab(1) is invoked with filename, it &lt;BR /&gt;overwrites an existing crontab entry for the &lt;BR /&gt;user that invokes it.&lt;BR /&gt;&lt;BR /&gt;c) Also, make sure that, by any chance,&lt;BR /&gt;/etc/cron.d/cron.deny does not list&lt;BR /&gt;oracle. Otherwise, you will not be able&lt;BR /&gt;to run the jobs.&lt;BR /&gt;&lt;BR /&gt;May 2007 bring peace and good health&lt;BR /&gt;to all,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Sun, 17 Dec 2006 20:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914260#M285007</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2006-12-17T20:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914261#M285008</link>
      <description>Hi Guys &lt;BR /&gt;I tried with crontab -e but instead of file to edit it shows me some number.&lt;BR /&gt;and ora10r2 is an oracle user.&lt;BR /&gt;and Secondly you are right I created the file in vi editor and then added to crontab.&lt;BR /&gt;Some of you ppl are suggesting me to set the Environment how exactly I do that.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Dec 2006 00:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914261#M285008</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-18T00:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914262#M285009</link>
      <description>Musaddaq,&lt;BR /&gt;&lt;BR /&gt;For editing the crontab entries first export the editor &lt;BR /&gt;&lt;BR /&gt;EDITOR=vi&lt;BR /&gt;export EDITOR&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Mon, 18 Dec 2006 03:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914262#M285009</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2006-12-18T03:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914263#M285010</link>
      <description>let's try this example:&lt;BR /&gt;&lt;BR /&gt;1. su - oracle&lt;BR /&gt;2. crontab -l&lt;BR /&gt;do you see any entries for this user oracle ?&lt;BR /&gt;&lt;BR /&gt;if not, then you do NOT have an entry or cron entry for this user..&lt;BR /&gt;&lt;BR /&gt;also note: crontab works on user account names.. so study the "cron.allow" file..&lt;BR /&gt;&lt;BR /&gt;search:  &lt;A href="http://docs.hp.com" target="_blank"&gt;http://docs.hp.com&lt;/A&gt;&lt;BR /&gt;and enter string:  cron.allow&lt;BR /&gt;or string: cron&lt;BR /&gt;&lt;BR /&gt;keep in mind: HP-UX rules, just joking but it's true.</description>
      <pubDate>Mon, 18 Dec 2006 23:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914263#M285010</guid>
      <dc:creator>D Block 2</dc:creator>
      <dc:date>2006-12-18T23:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914264#M285011</link>
      <description>hi musaddaq,&lt;BR /&gt;&lt;BR /&gt;i would prefer that you first do a:&lt;BR /&gt;&lt;BR /&gt;crontab -l &amp;gt; /tmp/crontab2edit.txt&lt;BR /&gt;&lt;BR /&gt;then edit the file to make appropriate modifications:&lt;BR /&gt;&lt;BR /&gt;vi /tmp/crontab2edit.txt  &lt;BR /&gt;(or just ftp it to you windows environment to make the modifications and ftp it back)&lt;BR /&gt;&lt;BR /&gt;and finally load it using:&lt;BR /&gt;crontab /tmp/crontab2edit.txt&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 19 Dec 2006 00:10:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914264#M285011</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2006-12-19T00:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: cronjob is not running on Sun Solaris</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914265#M285012</link>
      <description>Hi Guys &lt;BR /&gt;Thamks a lot for ur response. Cronjob is working fine now.&lt;BR /&gt;Have a gr8 day.&lt;BR /&gt;Regards &lt;BR /&gt;Musaddaq</description>
      <pubDate>Tue, 19 Dec 2006 00:14:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cronjob-is-not-running-on-sun-solaris/m-p/3914265#M285012</guid>
      <dc:creator>crontab is not running</dc:creator>
      <dc:date>2006-12-19T00:14:21Z</dc:date>
    </item>
  </channel>
</rss>

