Simple script sorting KPM table alphabetically.
An instance of this script is currently being hosted by @p0358.
10 8 * * * cd /var/Concierge.wiki && git pull && php /var/kpm_table_sorting/sort.php /var/Concierge.wiki/KPM-Table.md && git commit -am "[BOT ACTION] Sorting alphabetically" && git push
Git will not do anything on git commit
and git push
if there were no changes made.
Clone wiki:
git clone https://github.com/concierge/Concierge.wiki.git
Setup push access (execute inside git repo's dir):
git remote set-url origin https://username:[email protected]/concierge/Concierge.wiki.git