<?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: weird crontab error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991715#M422409</link>
    <description>I will use the solution of copying the crontab file, editing it and then using #crontab &lt;FILE&gt;.  That seems to be the best solution.&lt;BR /&gt;&lt;BR /&gt;Thanks guys!&lt;BR /&gt;&lt;BR /&gt;Steph&lt;/FILE&gt;</description>
    <pubDate>Mon, 24 Jul 2006 13:00:32 GMT</pubDate>
    <dc:creator>Stephanie L Davenport</dc:creator>
    <dc:date>2006-07-24T13:00:32Z</dc:date>
    <item>
      <title>weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991708#M422402</link>
      <description>I have tried to edit my crontab file using "crontab -e".  But, I get the following error message:  &lt;BR /&gt;&lt;BR /&gt;hpbest# crontab -e&lt;BR /&gt;crontab: can't open your crontab file.&lt;BR /&gt;&lt;BR /&gt;But, I know that the file exists:&lt;BR /&gt;&lt;BR /&gt;hpbest# cd /var/spool/cron/crontabs&lt;BR /&gt;hpbest# ll&lt;BR /&gt;-r--------   1 root     sys         4228 Jul 18 15:58 root&lt;BR /&gt;&lt;BR /&gt;Also, if you do a "crontab -l", it shows the file.  I _can_ edit the file directly but, feel more comfortable using "crontab -e".&lt;BR /&gt;&lt;BR /&gt;There is an allow file:&lt;BR /&gt;&lt;BR /&gt;hpbest# find . -name cron.allow&lt;BR /&gt;./var/adm/cron/cron.allow&lt;BR /&gt;hpbest# more /var/adm/cron/cron.allow&lt;BR /&gt;root&lt;BR /&gt;etc...&lt;BR /&gt;&lt;BR /&gt;This is HP-UX 10.01.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2006 15:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991708#M422402</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2006-07-18T15:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991709#M422403</link>
      <description>Hi Stephanie.&lt;BR /&gt;&lt;BR /&gt;corrupted cron file?&lt;BR /&gt;&lt;BR /&gt;# mv /var/spool/cron/crontabs/root /var/spool/cron/crontabs/root.old&lt;BR /&gt;&lt;BR /&gt;# crontab -e&lt;BR /&gt;&lt;BR /&gt;and add the entries from your old cron file.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Tue, 18 Jul 2006 16:13:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991709#M422403</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-07-18T16:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991710#M422404</link>
      <description>Well, that didn't seem to work.  :)&lt;BR /&gt;&lt;BR /&gt;hpbest# mv root root.old&lt;BR /&gt;hpbest# ll&lt;BR /&gt;total 16&lt;BR /&gt;-r--r--r--   1 root     informix    2375 Mar 14 11:50 informix&lt;BR /&gt;-r--------   1 root     sys         4228 Jul 18 16:33 root.old&lt;BR /&gt;hpbest# crontab -e&lt;BR /&gt;crontab: can't open your crontab file.&lt;BR /&gt;&lt;BR /&gt;So, I put it back:&lt;BR /&gt;&lt;BR /&gt;hpbest# crontab root.old&lt;BR /&gt;warning: commands will be executed using /usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2006 18:09:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991710#M422404</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2006-07-18T18:09:11Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991711#M422405</link>
      <description>Stephanie,&lt;BR /&gt;&lt;BR /&gt;Personally, I do not like to use crontab -e because, I make to many mistakes&lt;BR /&gt;&lt;BR /&gt;I perfer: &lt;BR /&gt;crontab -l &amp;gt; root.old&lt;BR /&gt;cp root.old root.new&lt;BR /&gt;vi root.new (then make the changes)&lt;BR /&gt;crontab root.new  (activate the changes)&lt;BR /&gt;&lt;BR /&gt;If I get an error or discover a problem,&lt;BR /&gt;I have a ready recovery copy.&lt;BR /&gt;I regulary compare my saved "golden" copy with the active copy. This helps me track uncontrolled change...&lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Tue, 18 Jul 2006 20:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991711#M422405</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2006-07-18T20:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991712#M422406</link>
      <description>Stephanie,&lt;BR /&gt;&lt;BR /&gt;check this doc (HPUX 10.10)&lt;BR /&gt;&lt;BR /&gt;Title: Editing /var/spool/cron/crontabs/file causes problems; use crontab&lt;BR /&gt;Document ID: A4581686&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062940497" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062940497&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 19 Jul 2006 05:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991712#M422406</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2006-07-19T05:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991713#M422407</link>
      <description>Question posted in wrong forum, moved to more appropriate forum</description>
      <pubDate>Wed, 19 Jul 2006 05:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991713#M422407</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-07-19T05:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991714#M422408</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to 'refresh' your crontab-entry, do&lt;BR /&gt;&lt;BR /&gt;crontab -l &amp;gt;~/mycrons&lt;BR /&gt;&lt;BR /&gt;Revise the file ~/mycrons , and then activate the new entries via&lt;BR /&gt;&lt;BR /&gt;crontab ~/mycrons&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;&lt;BR /&gt;BTW: HP-UX 10.01, aha.</description>
      <pubDate>Wed, 19 Jul 2006 06:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991714#M422408</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-07-19T06:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991715#M422409</link>
      <description>I will use the solution of copying the crontab file, editing it and then using #crontab &lt;FILE&gt;.  That seems to be the best solution.&lt;BR /&gt;&lt;BR /&gt;Thanks guys!&lt;BR /&gt;&lt;BR /&gt;Steph&lt;/FILE&gt;</description>
      <pubDate>Mon, 24 Jul 2006 13:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991715#M422409</guid>
      <dc:creator>Stephanie L Davenport</dc:creator>
      <dc:date>2006-07-24T13:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: weird crontab error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991716#M422410</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;glad to hear that our submissions were not complete useless; so look at&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#28" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#28&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Mon, 24 Jul 2006 15:41:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/weird-crontab-error/m-p/4991716#M422410</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-07-24T15:41:58Z</dc:date>
    </item>
  </channel>
</rss>

