Automated backup: 2023-10-09 10:05:01
This commit is contained in:
parent
3c8cae5c48
commit
d641450fd6
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
GIT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||||
crontab -l | grep -q "* * * * * $GIT_DIR/commit.sh" || (crontab -l 2>/dev/null; echo "* * * * * $GIT_DIR/commit.sh") | crontab -
|
(crontab -l 2>/dev/null; echo "* * * * * $GIT_DIR/commit.sh") | crontab -
|
Loading…
Reference in a new issue