ansible/roles/bank/templates/git.cron

4 lines
178 B
Text

SHELL=/bin/bash
#m h dom mon dow user command
0 * * * * {{ bank_user }} (cd /home/{{ bank_user }}/data.git && git pull -r && git push && git gc --auto)