There has been a Gasthaus on top of Schafberg since 1862, and it prides itself to be the first mountaintop Gasthaus in all of Austria. Since the steam cogwheel train was not built until the 1890s, the only way up was on foot (or horse or mule). Quite a lot of work for the gentry and nobility that liked to come up for a day’s outing. That train is going upward, by the way, pushed by the steam locomotive.
Schafberg seems to be well known by Austrians and less so by foreigners. As I do not exactly have millions of readers I take the risk of making a warm recommendation for anyone wanting to combine a weekend in Salzburg with a couple of days of fresh air. By the way, there is a decently accessible hiking path up and down the mountain, too.
(Schafberg, Austria; July 2019)