Especially when there won't framework already in use on this particular server.
Why add <framework of the day> to your setup when every 10 minutes or so, it's time to read the temperature sensor and return a string with the reading.
Also, since it's served by a transient process, there is no problem of memory leaks, file handle leaks, other resource capture by long running processes.
Per Murphy's Law, of course, everything is fine until one day the internal app goes public and suddenly there are 500 queries a second.