]> granicus.if.org Git - cronie/commitdiff
System table in manual page is mentioned.
authormmaslano <mmaslano@redhat.com>
Fri, 24 Aug 2007 06:17:59 +0000 (08:17 +0200)
committerTomas Janousek <tomi@nomi.cz>
Mon, 27 Aug 2007 14:03:54 +0000 (16:03 +0200)
crontab.5

index 62af547909efa8ca2a2702304e837765ace7bd32..a401def63a42ddacc7be0d3f4f80550952a6f272 100644 (file)
--- a/crontab.5
+++ b/crontab.5
@@ -196,7 +196,18 @@ MAILTO=paul
 0 22 * * 1-5    mail -s "It's 10pm" joe%Joe,%%Where are your kids?%                                                           
 23 0-23/2 * * * echo "run 23 minutes after midn, 2am, 4am ..., everyday"                                                      
 5 4 * * sun     echo "run at 5 after 4 every sunday"                                                                          
-.fi     
+.fi
+.SH Jobs in /etc/cron.d/
+The jobs in cron.d are system jobs, which are used usually for more than
+one user. That's the reason why is name of the user needed. MAILTO on the first line
+is optional.
+.SH EXAMPLE FOR JOB IN /etc/cron.d/job
+.nf
+#login as root
+#create job with preferred editor (e.g. vim)
+MAILTO=root
+* * * * * root touch /tmp/file
+.fi
 .SH SELinux with multi level security (MLS)
 In crontab is important specified security level by \fIcrontab\ -s\fR or specifying 
 the required level on the first line of the crontab. Each level is specified