summaryrefslogtreecommitdiffstats
path: root/system/fcron/sample-root-fcrontab.txt
diff options
context:
space:
mode:
author Richard Narron <richard@aaazen.com>2014-08-10 11:03:29 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-15 23:21:21 +0700
commit48e3666c679d5b0411c52ec7d7648a7ebc714217 (patch)
treefd2873f9c26bc6902ecffb4793f897704193479b /system/fcron/sample-root-fcrontab.txt
parented645e164f88369040493458757ecb6334a46583 (diff)
downloadslackbuilds-48e3666c679d5b0411c52ec7d7648a7ebc714217.tar.gz
slackbuilds-48e3666c679d5b0411c52ec7d7648a7ebc714217.tar.xz
system/fcron: Added sample.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-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
+