aboutsummaryrefslogtreecommitdiff
path: root/system/cronie/crontab.root
diff options
context:
space:
mode:
Diffstat (limited to 'system/cronie/crontab.root')
-rw-r--r--system/cronie/crontab.root22
1 files changed, 22 insertions, 0 deletions
diff --git a/system/cronie/crontab.root b/system/cronie/crontab.root
new file mode 100644
index 0000000000000..5b0ce8cbfcb50
--- /dev/null
+++ b/system/cronie/crontab.root
@@ -0,0 +1,22 @@
+# If you don't want the output of a cron job mailed to you, you have to direct
+# any output to /dev/null. We'll do this here since these jobs should run
+# properly on a newly installed system. If a script fails, run-parts will
+# mail a notice to root.
+#
+# Run the hourly, daily, weekly, and monthly cron jobs.
+# Jobs that need different timing may be entered into the crontab as before,
+# but most really don't need greater granularity than this. If the exact
+# times of the hourly, daily, weekly, and monthly cron jobs do not suit your
+# needs, feel free to adjust them.
+#
+# Run hourly cron jobs at 47 minutes after the hour:
+47 * * * * /usr/bin/run-parts /etc/cron.hourly 1> /dev/null
+#
+# Run daily cron jobs at 4:40 every day:
+40 4 * * * /usr/bin/run-parts /etc/cron.daily 1> /dev/null
+#
+# Run weekly cron jobs at 4:30 on the first day of the week:
+30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1> /dev/null
+#
+# Run monthly cron jobs at 4:20 on the first day of the month:
+20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1> /dev/null