├── README.md ├── run.sh └── serviceStatus.txt /README.md: -------------------------------------------------------------------------------- 1 | # MTA Service Status Archive 2 | 3 | This git repo functions as an archive of the [serviceStatus XML](http://web.mta.info/status/serviceStatus.txt) from the MTA. 4 | 5 | Every minute, changes are checked and added to the [history](https://github.com/talos/mta-service-status-archive/commits/master). 6 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Use a random number to make sure we don't get cached 4 | # Eliminate the timestamp to kill unnecessary commits 5 | # (our timestamp is when the commit happened!) 6 | 7 | curl "http://web.mta.info/status/serviceStatus.txt?_=$RANDOM" | \ 8 | sed -E 's:.*::g' \ 9 | > serviceStatus.txt 10 | git add serviceStatus.txt 11 | git commit -m 'auto-commit' 12 | git push origin master 13 | -------------------------------------------------------------------------------- /serviceStatus.txt: -------------------------------------------------------------------------------- 1 | 2 | Access Denied 3 | 4 |

Access Denied

5 | 6 | You don't have permission to access "http://web.mta.info/status/serviceStatus.txt?" on this server.

7 | Reference #18.25fb4317.1532188381.13e17d76 8 | 9 | 10 | --------------------------------------------------------------------------------