summaryrefslogtreecommitdiff
path: root/system/fcron/sample-root-fcrontab.txt
diff options
context:
space:
mode:
Diffstat (limited to 'system/fcron/sample-root-fcrontab.txt')
-rw-r--r--system/fcron/sample-root-fcrontab.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/fcron/sample-root-fcrontab.txt b/system/fcron/sample-root-fcrontab.txt
new file mode 100644
index 0000000000..f0db209316
--- /dev/null
+++ b/system/fcron/sample-root-fcrontab.txt
@@ -0,0 +1,21 @@
+# Run the hourly, daily, weekly, and monthly fcron jobs.
+# Jobs that need different timing may be entered into the fcrontab as ,
+# before, but most really don't need greater granularity than this. If
+# the exact times of the hourly, daily, weekly, and monthly fcron jobs do
+# not suit your needs, feel free to adjust them.
+#
+# set default for scripts to run if they did not run during down time
+!bootrun(1)
+#
+# Run hourly fcron jobs at 47 minutes after the hour:
+& 47 * * * * /usr/bin/run-parts /etc/cron.hourly 1>/dev/null 2>&1
+#
+# Run daily fcron jobs at 4:40 every day:
+& 40 4 * * * /usr/bin/run-parts /etc/cron.daily 1>/dev/null 2>&1
+#
+# Run weekly fcron jobs at 4:30 on the first day of the week:
+& 30 4 * * 0 /usr/bin/run-parts /etc/cron.weekly 1>/dev/null 2>&1
+#
+# Run monthly fcron jobs at 4:20 on the first day of the month:
+& 20 4 1 * * /usr/bin/run-parts /etc/cron.monthly 1>/dev/null 2>&1
+