How to Add An Airport
Steps to follow
# Started Fri 2021-11-12 # Updated Tue 2024-06-18
cd /usr/local/bin/airpuff/
python3 ./airport-info-insert-phones.py [LC ICAO] [ATIS Phone] [Twr or FBO phone]
./airpuff-rrd-create.sh [4-letter ICAO code in CAPS]"
./pypuff-run.sh "[group title - spaces allowed] "[comma separated list of lower case airports]"
./airpuff-custom.sh "[group title - spaces allowed] "[space separated list of upper case airports]"
./airpuff-rrd.sh "[space separated list of upper case airports]"
./airpuff-rrd-graph.sh "[space separated list of upper case airports]"
./airpuff-rrd-web-create.sh "[space separated list of upper case airports]"
./airpuff-rrd-web-create-img-link.sh "[space separated list of upper case airports]"
Add steps 4-9 to /etc/cron.d/airpuff
Phone numbers should be in the format of: ###-###-####
Sample CRON enties:
*/15 * * * * root /usr/local/bin/airpuff/pypuff-run.sh "Rockin' Route" kap1, kap2, kap3
*/5 * * * * root /usr/local/bin/airpuff/airpuff-custom.sh "Rockin' Route" "KAP1 KAP2 KAP3"
*/5 * * * * root /usr/local/bin/airpuff/airpuff-rrd.sh "KAP1 KAP2 KAP3"
*/5 * * * * root /usr/local/bin/airpuff/airpuff-rrd-graph.sh "KAP1 KAP2 KAP3"
*/5 * * * * root /usr/local/bin/airpuff/airpuff-rrd-web-create.sh "KAP1 KAP2 KAP3"
*/5 * * * * root /usr/local/bin/airpuff/airpuff-rrd-web-create-img-link.sh "KAP1 KAP2 KAP3"
berdas01-app01