<?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 - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755570#M78696</link>
    <description>Craig's entry would work well if using 'Vixie' crond, and the '/etc/crontab' file.&lt;BR /&gt;&lt;BR /&gt;If using an older style of cron, or not using '/etc/crontab', then you'd just drop the 'username' field.&lt;BR /&gt;&lt;BR /&gt;The 'crontab' command will actually take you into an editor to modify the user's crontab if you don't specify a file.  If doing that, you'll want to make sure the user you are adding the crontab for doesn't already have one, or if they do, that you also include them in your update.&lt;BR /&gt;&lt;BR /&gt;The following commands might be useful to you:&lt;BR /&gt;  # List &lt;USER&gt;'s current crontab&lt;BR /&gt;    crontab -l -u &lt;USER&gt;     &lt;BR /&gt;  # Edit (using '$VISUAL') crontab for &lt;USER&gt;&lt;BR /&gt;    crontab -e -u &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;'man crontab' lists these.  For the format of the 'crontab' files, you'll want to read 'man 5 crontab'.&lt;BR /&gt;&lt;BR /&gt;On most systems, the default '$VISUAL' editor is '/bin/vi'.  If you aren't familier with Vi, you might want to change that, and the '$EDITOR' environment variables to something you are more comfortable with.&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
    <pubDate>Mon, 01 Jul 2002 22:53:49 GMT</pubDate>
    <dc:creator>Stuart Browne</dc:creator>
    <dc:date>2002-07-01T22:53:49Z</dc:date>
    <item>
      <title>crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755568#M78694</link>
      <description>Hi,&lt;BR /&gt;i need to make a crontab that executes a script every night&lt;BR /&gt;at 4 am. What is the right crontab format?&lt;BR /&gt;I have made a man of crontab and cron, but it doesn't explain how to put the hour and how to execute it. &lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 12:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755568#M78694</guid>
      <dc:creator>Tarek_1</dc:creator>
      <dc:date>2002-07-01T12:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755569#M78695</link>
      <description>00 04 * * * username /path/to/program some args go here&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jul 2002 14:47:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755569#M78695</guid>
      <dc:creator>Craig Kelley</dc:creator>
      <dc:date>2002-07-01T14:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755570#M78696</link>
      <description>Craig's entry would work well if using 'Vixie' crond, and the '/etc/crontab' file.&lt;BR /&gt;&lt;BR /&gt;If using an older style of cron, or not using '/etc/crontab', then you'd just drop the 'username' field.&lt;BR /&gt;&lt;BR /&gt;The 'crontab' command will actually take you into an editor to modify the user's crontab if you don't specify a file.  If doing that, you'll want to make sure the user you are adding the crontab for doesn't already have one, or if they do, that you also include them in your update.&lt;BR /&gt;&lt;BR /&gt;The following commands might be useful to you:&lt;BR /&gt;  # List &lt;USER&gt;'s current crontab&lt;BR /&gt;    crontab -l -u &lt;USER&gt;     &lt;BR /&gt;  # Edit (using '$VISUAL') crontab for &lt;USER&gt;&lt;BR /&gt;    crontab -e -u &lt;USER&gt;&lt;BR /&gt;&lt;BR /&gt;'man crontab' lists these.  For the format of the 'crontab' files, you'll want to read 'man 5 crontab'.&lt;BR /&gt;&lt;BR /&gt;On most systems, the default '$VISUAL' editor is '/bin/vi'.  If you aren't familier with Vi, you might want to change that, and the '$EDITOR' environment variables to something you are more comfortable with.&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Mon, 01 Jul 2002 22:53:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755570#M78696</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2002-07-01T22:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755571#M78697</link>
      <description>See man 5 crontab, you will find the right crontab format.&lt;BR /&gt;&lt;BR /&gt;Frank.</description>
      <pubDate>Thu, 04 Jul 2002 05:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755571#M78697</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2002-07-04T05:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: crontab</title>
      <link>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755572#M78698</link>
      <description>FYI, if you are using RedHat Linux, some program such as logrotate, updatedb and so on.&lt;BR /&gt;So I think you better start your program before or after 4AM.&lt;BR /&gt;&lt;BR /&gt;#crontab -l list current schedule.&lt;BR /&gt; &lt;BR /&gt;Good luck&lt;BR /&gt;</description>
      <pubDate>Thu, 04 Jul 2002 05:56:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/crontab/m-p/2755572#M78698</guid>
      <dc:creator>I_M</dc:creator>
      <dc:date>2002-07-04T05:56:56Z</dc:date>
    </item>
  </channel>
</rss>

