<?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 - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480085#M18084</link>
    <description>Is the backup script the only entry in your crontab file?  Is the file /var/spool/cron/crontabs/root getting removed?  &lt;BR /&gt;&lt;BR /&gt;Here is something you can do so you don't have to manually enter your script every time.&lt;BR /&gt;&lt;BR /&gt;1)  Make a backup copy of your root crontab file and call it something like root.crontab.  You can save it anywhere you want.  root's home directory would be a good place.  Just remember to update this file whenever you make a change to root's crontab file.&lt;BR /&gt;&lt;BR /&gt;2)  When you have to redo your backup entry you can do 'crontab /root.crontab', as the root user of course, and then it will read the contents of /root.crontab into root's real crontab file.&lt;BR /&gt;&lt;BR /&gt;I know this doesn't help you solve your real problem though.  I would look at the system init scripts and see if someone is doing something like removing the root crontab file for some strange reason.  The system itself shouldn't be doing anything to it.</description>
    <pubDate>Sun, 07 Jan 2001 06:30:56 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-01-07T06:30:56Z</dc:date>
    <item>
      <title>CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480083#M18082</link>
      <description>I have a minor issue with my Class D 9000 system everytime we reboot this box, which isn't often I might add, I have to re-enter my backup entry that runs my backup script.  Anybody know why this is?  I don't have this problem with my 800 series.&lt;BR /&gt;&lt;BR /&gt;Thanks for your thoughts.&lt;BR /&gt;&lt;BR /&gt;DKD</description>
      <pubDate>Sat, 06 Jan 2001 21:25:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480083#M18082</guid>
      <dc:creator>Dan Decker</dc:creator>
      <dc:date>2001-01-06T21:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480084#M18083</link>
      <description>A D class box is an 800 series machine.  Maybe some different drivers to satisy hardware, but it runs all the same stuff as any other 800 series machine.  &lt;BR /&gt;&lt;BR /&gt;What is happening here is very unusual though.  I would look carefully at the boot logs to see if maybe someone at some time has added something different to somehow 'protect' cron.  I would also look carefully at init.d scripts (crond in particular) to see if something is there.</description>
      <pubDate>Sun, 07 Jan 2001 02:41:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480084#M18083</guid>
      <dc:creator>Tim Malnati</dc:creator>
      <dc:date>2001-01-07T02:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480085#M18084</link>
      <description>Is the backup script the only entry in your crontab file?  Is the file /var/spool/cron/crontabs/root getting removed?  &lt;BR /&gt;&lt;BR /&gt;Here is something you can do so you don't have to manually enter your script every time.&lt;BR /&gt;&lt;BR /&gt;1)  Make a backup copy of your root crontab file and call it something like root.crontab.  You can save it anywhere you want.  root's home directory would be a good place.  Just remember to update this file whenever you make a change to root's crontab file.&lt;BR /&gt;&lt;BR /&gt;2)  When you have to redo your backup entry you can do 'crontab /root.crontab', as the root user of course, and then it will read the contents of /root.crontab into root's real crontab file.&lt;BR /&gt;&lt;BR /&gt;I know this doesn't help you solve your real problem though.  I would look at the system init scripts and see if someone is doing something like removing the root crontab file for some strange reason.  The system itself shouldn't be doing anything to it.</description>
      <pubDate>Sun, 07 Jan 2001 06:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480085#M18084</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-07T06:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480086#M18085</link>
      <description>Hi Dan&lt;BR /&gt;&lt;BR /&gt;Is your /var dir at 100% as this can cause a disappearing crontab.&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Sun, 07 Jan 2001 18:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480086#M18085</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-01-07T18:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480087#M18086</link>
      <description>Thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;What I have are 2 older 9000 boxes a 800/H60 and a 800/H60 inaddition to my newest Class D 9000 I haven't had to do anything to crontab after rebooting the two older models. I guess older is better. AH AH never mind.&lt;BR /&gt;&lt;BR /&gt;Somebody had told me earlier about making sure my entry was in a startup script. so when the systtem reboots it gets loaded back in.  I haven't had time to look into that. My Crontab has all kinds of entries and none of those get removed just my backup entry.  This doesn't make sense to me&lt;BR /&gt;My Var diectory isn't full&lt;BR /&gt;Any other suggestion would be helpful thanks&lt;BR /&gt;&lt;BR /&gt;DKD</description>
      <pubDate>Mon, 08 Jan 2001 22:17:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480087#M18086</guid>
      <dc:creator>Dan Decker</dc:creator>
      <dc:date>2001-01-08T22:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480088#M18087</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to aid troubleshooting, check your /etc/rc.log and see if any errors occur during your system startup. &lt;BR /&gt;&lt;BR /&gt;Check also your /var/adm/syslog/syslog.log for errors from cron. &lt;BR /&gt;&lt;BR /&gt;Most importantly, check your cron LOG in /var/adm/cron and observe when your scheduled job disappears.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Tue, 09 Jan 2001 00:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480088#M18087</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-09T00:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480089#M18088</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is this problem specific to only one user? Check also the last modified timestamp for your user's crontab to identify when the cron job was actually changed. Subsequently, find out what the system conditions were at the time of change from logs?&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Tue, 09 Jan 2001 00:30:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480089#M18088</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2001-01-09T00:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480090#M18089</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;It seems to be Your crontab was modified. Check /var/spool/cron/crontabs/username file modification date. &lt;BR /&gt;Our have az application under ServiceGuard which rewrite the crontabs when package start. &lt;BR /&gt;&lt;BR /&gt;If You want to found what happend write a script, named crontab which logging the date and the processes, after call right crontab. Do it in the first path in $PATH environment. &lt;BR /&gt;&lt;BR /&gt;Do not forget Your crontab can modify root and owner . &lt;BR /&gt;&lt;BR /&gt;regards, Saa&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jan 2001 14:46:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480090#M18089</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-01-09T14:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480091#M18090</link>
      <description>Thanks for all the responses.  I did check the log files specified and didn't see any error messages other than we didn't restart the Oracle application database all others looked like the trim schedule kicked in.  The reboot happened on Friday around noon and I didn't discover the problem till Saturday evening when I came in to work to change out the backup tape.  &lt;BR /&gt;&lt;BR /&gt;The user in question is Root and I did see a new crontab file under the user Root created with the backup reentered.&lt;BR /&gt;&lt;BR /&gt;I inherited this system so I am still finding things that don't look right and it is going to take some time to try and get it into the right order if that is possible.  &lt;BR /&gt;&lt;BR /&gt;For some reason I was not able to assign any points to your replies hope I can in the future.  Thanks  DKD</description>
      <pubDate>Tue, 09 Jan 2001 23:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480091#M18090</guid>
      <dc:creator>Dan Decker</dc:creator>
      <dc:date>2001-01-09T23:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480092#M18091</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;Apparently you have to reply to the responses before you can assign any point as I just found out.  Oh well if we didn't learn something new in this job is sure could get boring.&lt;BR /&gt;&lt;BR /&gt;Thanks all</description>
      <pubDate>Tue, 09 Jan 2001 23:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480092#M18091</guid>
      <dc:creator>Dan Decker</dc:creator>
      <dc:date>2001-01-09T23:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480093#M18092</link>
      <description>You don't have to replay to a message to assign points, you just have to be logged into the ITRC.  &lt;BR /&gt;When you reply to a message it automagically attempts to log you in.  When you are logged in, you see a message like "Welcome, Dan Decker" at the bottom of the "IT resource center" menu on the left side of the screen.  If you are not logged in you will see a message saying something like "Please Log In" in that same spot.  There is a 'login' option on the menu on that same menu.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 Jan 2001 03:21:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480093#M18092</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-01-10T03:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: CronTab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480094#M18093</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;The crontab can modified by crontab command ( or edited the crontab file, but never do that ) so if You have time and resource do that:&lt;BR /&gt;&lt;BR /&gt;1, find all script in Your system :&lt;BR /&gt;&lt;BR /&gt;# find / -exec file {} \; | grep command &amp;gt; /tmp/scripts&lt;BR /&gt;&lt;BR /&gt;# grep crontab  `cat /tmp/scripts`&lt;BR /&gt;&lt;BR /&gt;May be You will find script which modified Your crontab.&lt;BR /&gt;&lt;BR /&gt;regards, Saa</description>
      <pubDate>Wed, 10 Jan 2001 11:48:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab/m-p/2480094#M18093</guid>
      <dc:creator>Sandor Horvath_2</dc:creator>
      <dc:date>2001-01-10T11:48:27Z</dc:date>
    </item>
  </channel>
</rss>

