2023-10-09 10:00:01 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
2024-04-20 20:33:35 -05:00
|
|
|
(
|
|
|
|
crontab -l 2>/dev/null
|
|
|
|
echo "* * * * * $GIT_DIR/commit.sh"
|
|
|
|
) | crontab -
|
2023-10-10 20:25:23 -05:00
|
|
|
|
|
|
|
############################################################################
|
|
|
|
# NOTE: commit signing must be turned off, or not require any interaction. #
|
2024-04-20 20:33:35 -05:00
|
|
|
############################################################################
|