install.fairie/home/.chezmoiscripts/universal/run_onchange_after_50-crontab.sh.tmpl
2023-08-08 01:29:21 -04:00

15 lines
556 B
Cheetah

{{- if false }}
#!/usr/bin/env bash
# @file Crontab Jobs
# @brief Schedules Crontab jobs by importing a configuration stored in `~/.config/crontab/config`
# @description
# This script loads crontab jobs that are defined and housed in your Install Doctor fork.
# crontab config hash: {{ include (joinPath .chezmoi.homeDir ".config" "crontab" "config")| sha256sum }}
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
logg 'Installing crontab jobs'
crontab < "${XDG_CONFIG_HOME:-$HOME/.config}/crontab/config"
{{ end -}}