From 482cf8c288c9ecae32e0db12152fa4ffadd1283a Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sat, 1 Aug 2020 00:00:56 +0000 Subject: [PATCH] Move cron info from notes to docs --- docs/README.md | 1 + docs/cron.md | 23 +++++++++++++++++++++++ notes.txt | 15 --------------- 3 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 docs/cron.md diff --git a/docs/README.md b/docs/README.md index 1c53bb2..c268af0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -12,3 +12,4 @@ This folder contains a bunch of general information on how to get the base of a * [Slideshow Prep (REQUIRED)](slideshow_prep.md) * [Slideshow Setup (REQUIRED)](slideshow.md) * [Email Notifications (OPTIONAL)](email_notifications.md) +* [cron / Scheduler (REQUIRED)](cron.md) diff --git a/docs/cron.md b/docs/cron.md new file mode 100644 index 0000000..142c8a4 --- /dev/null +++ b/docs/cron.md @@ -0,0 +1,23 @@ +# cron/Scheduler + +The below commands will setup a cron daemon (scheduler) for running things like backups, statistic gathering and more via a schedule. While technically not required, we *strongly* recommend using cron for backups so you get the output via e-mail (or similar). This is also required if you want to monitor resource utilization via ```munin```. + +## Important Notes + +* This assumes you have setup ```msmtp``` for email notifications + +## Setup + +``` sh + +pacman -S cronie +mkdir /etc/systemd/system/cronie.service.d +cat > /etc/systemd/system/cronie.service.d/override.conf < /etc/systemd/system/cronie.service.d/override.conf <