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 <