linuxmuster / linuxmuster-base7

Mangement scripts for linuxmuster.net V7
GNU General Public License v3.0
13 stars 8 forks source link

linuxmuster-holiday #135

Closed kiarn closed 2 years ago

kiarn commented 2 years ago

Script to test if today is holiday, based on configuration file /etc/linuxmuster/holidays.yml ( or do you have a better idea for the path ? ). This script is intended to be used in cron jobs, in order to disable some actions on holidays, e.g. :

17 00   * * *   root    linuxmuster-holiday && /home/scripts/start_all_computers.sh

Configuration of /etc/linuxmuster/holidays.yml will be done in the Webui settings.