bwfiles/bundles/uberspace-crontab-dir/files/crontab-dir-generate-crontab.sh

14 lines
328 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
echo "# Generated from ~/.config/cron.d"
echo "# Use crontab-dir-update to regenerate"
echo
echo "PATH=$HOME/.local/bin:$HOME/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin"
echo
echo "MAILTO=\"\""
echo
find $HOME/.config/cron.d -mindepth 1 -maxdepth 1 -type f | sort | xargs cat