mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 13:47:01 +08:00
feat(test.zsh): test crontab
This commit is contained in:
parent
b31bcfe44b
commit
36fd85121b
|
@ -21,6 +21,9 @@ test -f .zshrc2
|
||||||
diff -q ./.ssh/authorized_keys2 ~/.ssh/authorized_keys2
|
diff -q ./.ssh/authorized_keys2 ~/.ssh/authorized_keys2
|
||||||
diff -q ./.eid/authorized_certificates ~/.eid/authorized_certificates
|
diff -q ./.eid/authorized_certificates ~/.eid/authorized_certificates
|
||||||
grep -q ".zshrc2" ~/.zshrc
|
grep -q ".zshrc2" ~/.zshrc
|
||||||
|
if [[ -x $(command -v crontab) ]]; then
|
||||||
|
crontab -l | grep -qxF "0 * * * * ${DOTFILES}/update.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
# check scripts and functions
|
# check scripts and functions
|
||||||
dfs version
|
dfs version
|
||||||
|
|
Loading…
Reference in New Issue
Block a user