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

12 lines
261 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:\$PATH"
echo
find $HOME/.config/cron.d -mindepth 1 -maxdepth 1 -type f | sort | xargs cat