<?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: cron job memory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846999#M274300</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;/sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;You must restart the daemon after denying or authorizing users to use cron.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
    <pubDate>Mon, 21 Aug 2006 04:01:01 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-08-21T04:01:01Z</dc:date>
    <item>
      <title>cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846996#M274297</link>
      <description>Hello&lt;BR /&gt;I removed a user from a large number of HP-UX 11.00 and 11.11 servers (userdel -r) and I also removed that user's crontab file from under /var/spool/cron/crontabs.&lt;BR /&gt;&lt;BR /&gt;However from the /var/adm/cron/log file it appears as though this user is still executing its cronjob, eventhough it has been removed from the system.&lt;BR /&gt;&lt;BR /&gt;Is there a better method to remove a users crontab from the system? Are cron jobs held somewhere in memory, or another file? Do I need to recycle the cron daemon?&lt;BR /&gt;&lt;BR /&gt;I noticed the user still remains in /var/adm/cron/cron.alllow, obviously since he is no longer on the system I should remove it from that file. However I do not think this is the source of the issue, since the user is attempting to run a crontab at precisely the same time he would have run it were his crontab file still present - hence my thoughts that something is being held about this in another file or in memory.&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.</description>
      <pubDate>Mon, 21 Aug 2006 03:44:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846996#M274297</guid>
      <dc:creator>HP-UX Enthusiast</dc:creator>
      <dc:date>2006-08-21T03:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846997#M274298</link>
      <description>Hi There,&lt;BR /&gt;&lt;BR /&gt;With the user removed, here is how to rid the system of the cron jobs that have&lt;BR /&gt;been scheduled to run as the user:&lt;BR /&gt;&lt;BR /&gt;   1) If it exists,  `vi /var/adm/cron/cron.allow` file and remove the user.&lt;BR /&gt;&lt;BR /&gt;   2) Remove the user's crontab:&lt;BR /&gt;          #rm /var/spool/cron/crontabs/user_name&lt;BR /&gt;&lt;BR /&gt;   3) Stop and start cron:&lt;BR /&gt;          # /sbin/init.d/cron stop&lt;BR /&gt;          # /sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;I guess you have to stop and start the cron, have you done this ?&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth</description>
      <pubDate>Mon, 21 Aug 2006 03:55:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846997#M274298</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2006-08-21T03:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846998#M274299</link>
      <description>Hi There,&lt;BR /&gt;&lt;BR /&gt;With the user removed, here is how to rid the system of the cron jobs that have&lt;BR /&gt;been scheduled to run as the user:&lt;BR /&gt;&lt;BR /&gt;   1) If it exists,  `vi /var/adm/cron/cron.allow` file and remove the user.&lt;BR /&gt;&lt;BR /&gt;   2) Remove the user's crontab:&lt;BR /&gt;          #rm /var/spool/cron/crontabs/user_name&lt;BR /&gt;&lt;BR /&gt;   3) Stop and start cron:&lt;BR /&gt;          # /sbin/init.d/cron stop&lt;BR /&gt;          # /sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;I guess you have to stop and start the cron, have you done this ? If not please try and let me know.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth</description>
      <pubDate>Mon, 21 Aug 2006 03:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846998#M274299</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2006-08-21T03:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846999#M274300</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/cron stop&lt;BR /&gt;/sbin/init.d/cron start&lt;BR /&gt;&lt;BR /&gt;You must restart the daemon after denying or authorizing users to use cron.&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Aug 2006 04:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3846999#M274300</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-08-21T04:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3847000#M274301</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think, after executing a&lt;BR /&gt;crontab -r &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;before calling the 'userdel' no restart of the cron daemon should be necessary.&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;BR /&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 21 Aug 2006 07:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3847000#M274301</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-08-21T07:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: cron job memory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3847001#M274302</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Peter is correct.  The proper way to manage crontasks is to use the 'crontab' command.  Manually adding and/or removing files in '/var/spool/cron/crontabs' does not signal the 'cron' daemon of any changes.  While adding or removing files and then stopping and restarting 'cron' would indeed accomplish the same objective, this is overkill and could potentially result in one or more user's missing a scheduled job start.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 21 Aug 2006 07:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cron-job-memory/m-p/3847001#M274302</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-08-21T07:35:38Z</dc:date>
    </item>
  </channel>
</rss>

