Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 767 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 767 Bytes

kpm_table_sorting

Simple script sorting KPM table alphabetically.

Hosting

An instance of this script is currently being hosted by @p0358.

Cron task example:

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.

Useful:

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