<?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 crontab newbie problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379671#M197271</link>
    <description>I added the username to the /usr/lib/cron/crontab.allow&lt;BR /&gt;&lt;BR /&gt;Connected as root I created the username file (user13 file) in /var/spool/cron/crontabs and did the "chown user13 user13" and connected as user13 I did the "chmod u=rw user13", with the information of the task to perform:&lt;BR /&gt;&lt;BR /&gt;5,10,15,20,25,30,35,40,45,50,55,00 * * * * /home/user13/test.sh&lt;BR /&gt;&lt;BR /&gt;But the script test.sh does not execute every 5 minuts. &lt;BR /&gt;&lt;BR /&gt;What did I do wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 15 Sep 2004 12:32:21 GMT</pubDate>
    <dc:creator>Tonatiuh</dc:creator>
    <dc:date>2004-09-15T12:32:21Z</dc:date>
    <item>
      <title>crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379671#M197271</link>
      <description>I added the username to the /usr/lib/cron/crontab.allow&lt;BR /&gt;&lt;BR /&gt;Connected as root I created the username file (user13 file) in /var/spool/cron/crontabs and did the "chown user13 user13" and connected as user13 I did the "chmod u=rw user13", with the information of the task to perform:&lt;BR /&gt;&lt;BR /&gt;5,10,15,20,25,30,35,40,45,50,55,00 * * * * /home/user13/test.sh&lt;BR /&gt;&lt;BR /&gt;But the script test.sh does not execute every 5 minuts. &lt;BR /&gt;&lt;BR /&gt;What did I do wrong?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 12:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379671#M197271</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2004-09-15T12:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379672#M197272</link>
      <description>I dont think cron is going to pick up the files you manually created in /var/spool/cron/crontabs directory, unless otherwise you restart cron.&lt;BR /&gt;&lt;BR /&gt;Proper way would be to log in as user and create the crontab file.&lt;BR /&gt;&lt;BR /&gt;1) remove the user13 file from /var/spool/cron/crontabs directory&lt;BR /&gt;&lt;BR /&gt;2) # su - user13&lt;BR /&gt;   user13&amp;gt; crontab -e&lt;BR /&gt;   5,10,15,20,25,30,35,40,45,50,55,00 * * * * /home/user13/test.sh&lt;BR /&gt;   user13&amp;gt;&lt;BR /&gt;   &lt;BR /&gt;   Now the script should get executed.&lt;BR /&gt;&lt;BR /&gt;-- Sundar&lt;BR /&gt;   &lt;BR /&gt;   &lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 12:37:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379672#M197272</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-15T12:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379673#M197273</link>
      <description>shouldn't you add user to /var/adm/cron/cron.allow??&lt;BR /&gt;&lt;BR /&gt;As a user12, what does &lt;BR /&gt;crontab -l says??&lt;BR /&gt;&lt;BR /&gt;What is there in /var/adm/cron/log??&lt;BR /&gt;&lt;BR /&gt;Is the execute perms set on test.sh??&lt;BR /&gt;&lt;BR /&gt;Anil</description>
      <pubDate>Wed, 15 Sep 2004 12:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379673#M197273</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2004-09-15T12:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379674#M197274</link>
      <description>As that login id, you have to add the jobs to the cron.&lt;BR /&gt;&lt;BR /&gt;Login as that user.&lt;BR /&gt;&lt;BR /&gt;create a file with the cron job.&lt;BR /&gt;&lt;BR /&gt;do "crontab file_name" as the user for whom this cron job needs to be added.&lt;BR /&gt;&lt;BR /&gt;Creating a file under crontabs by root does not help.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 12:39:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379674#M197274</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-09-15T12:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379675#M197275</link>
      <description>The user13 does not have write privilege to directory /var/spool/cron/crontabs. &lt;BR /&gt;&lt;BR /&gt;As root user, what is the syntax to give write privilege to this directory to user13?</description>
      <pubDate>Wed, 15 Sep 2004 13:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379675#M197275</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2004-09-15T13:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379676#M197276</link>
      <description>The user does not need write privileges to the directory is you 'su - user13' and then use 'crontab -e' to edit the crontab file.  &lt;BR /&gt;&lt;BR /&gt;Give it a try.  It will work.&lt;BR /&gt;&lt;BR /&gt;# su - user13&lt;BR /&gt;&lt;BR /&gt;$ crontab -e&lt;BR /&gt;&lt;BR /&gt;Add your info as above and save it.  If you then want to check it do&lt;BR /&gt;&lt;BR /&gt;$ crontab -l&lt;BR /&gt;&lt;BR /&gt;And the use should be added to /var/adm/cron/cron.allow to allow them access to use cron.</description>
      <pubDate>Wed, 15 Sep 2004 13:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379676#M197276</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-09-15T13:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379677#M197277</link>
      <description>the user need not have write permission to /var/spool/cron/crontabs directory to create cron jobs.&lt;BR /&gt;&lt;BR /&gt;Do not change the permissions ! :-).&lt;BR /&gt;&lt;BR /&gt;/usr/bin/crontab command can be used by any user (that are allowed to have a crontab) to create/delete/modify their crontab files.&lt;BR /&gt;&lt;BR /&gt;/usr/bin/crontab is a SETUID binary.</description>
      <pubDate>Wed, 15 Sep 2004 13:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379677#M197277</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-09-15T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: crontab newbie problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379678#M197278</link>
      <description>It has worked. THANKS!</description>
      <pubDate>Wed, 15 Sep 2004 13:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/crontab-newbie-problem/m-p/3379678#M197278</guid>
      <dc:creator>Tonatiuh</dc:creator>
      <dc:date>2004-09-15T13:21:37Z</dc:date>
    </item>
  </channel>
</rss>

