<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>http://wiki.ciscolinux.co.uk/index.php?action=history&amp;feed=atom&amp;title=Linux_-_crontab</id>
	<title>Linux - crontab - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.ciscolinux.co.uk/index.php?action=history&amp;feed=atom&amp;title=Linux_-_crontab"/>
	<link rel="alternate" type="text/html" href="http://wiki.ciscolinux.co.uk/index.php?title=Linux_-_crontab&amp;action=history"/>
	<updated>2026-04-05T08:14:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>http://wiki.ciscolinux.co.uk/index.php?title=Linux_-_crontab&amp;diff=4905&amp;oldid=prev</id>
		<title>Pio2pio: Created page with &quot;= RHEL8 = &lt;source lang=crontab&gt; cat /etc/crontab  SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root  # For details see man 4 crontabs  # Example of job definition...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.ciscolinux.co.uk/index.php?title=Linux_-_crontab&amp;diff=4905&amp;oldid=prev"/>
		<updated>2019-11-21T22:07:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= RHEL8 = &amp;lt;source lang=crontab&amp;gt; cat /etc/crontab  SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root  # For details see man 4 crontabs  # Example of job definition...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= RHEL8 =&lt;br /&gt;
&amp;lt;source lang=crontab&amp;gt;&lt;br /&gt;
cat /etc/crontab &lt;br /&gt;
SHELL=/bin/bash&lt;br /&gt;
PATH=/sbin:/bin:/usr/sbin:/usr/bin&lt;br /&gt;
MAILTO=root&lt;br /&gt;
&lt;br /&gt;
# For details see man 4 crontabs&lt;br /&gt;
&lt;br /&gt;
# Example of job definition:&lt;br /&gt;
# .---------------- minute (0 - 59)&lt;br /&gt;
# |  .------------- hour (0 - 23)&lt;br /&gt;
# |  |  .---------- day of month (1 - 31)&lt;br /&gt;
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...&lt;br /&gt;
# |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat&lt;br /&gt;
# |  |  |  |  |&lt;br /&gt;
# *  *  *  *  * user-name  command to be executed&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Cron's locations&lt;br /&gt;
&amp;lt;code&amp;gt;/var/spool/cron&amp;lt;/code&amp;gt; is where the individual user crontabs live. As user, &amp;lt;code&amp;gt;crontab -e&amp;lt;/code&amp;gt; edits the corresponding file in &amp;lt;code&amp;gt;/var/spool/cron&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;/etc/cron.d&amp;lt;/code&amp;gt; is a directory that is scanned for modular crontab files. The syntax is slightly different for files in that directory. The cron entries have an additional field for a user to run the cron entries as. This is the same as a systemwide &amp;lt;code&amp;gt;/etc/crontab&amp;lt;/code&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Adding that the files in &amp;lt;code&amp;gt;/etc/cron.d/&amp;lt;/code&amp;gt; are, in effect, all root-owned (and therefore not user cron files); also, these files are NOT run '''by cron''' - they are run by a cron '''job''' that looks at these files.&lt;/div&gt;</summary>
		<author><name>Pio2pio</name></author>
	</entry>
</feed>