Closed kiarn closed 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. :
/etc/linuxmuster/holidays.yml
17 00 * * * root linuxmuster-holiday && /home/scripts/start_all_computers.sh
Configuration of /etc/linuxmuster/holidays.yml will be done in the Webui settings.
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. :Configuration of
/etc/linuxmuster/holidays.yml
will be done in the Webui settings.