bin/cron/org-autocommit-cron (view raw)
1 2 3 4 5
#!/bin/sh cd $HOME/docs/org git add . && git commit -m "auto commit: $(whoami)@$(hostname)" ping -q -c 1 google.com >/dev/null && git push