This answer to the question starts with:
This video may help to answer your question. Starting at about 00:24, you can see an astronaut running around the "exercise wheel" of Skylab (an early NASA space station program, which followed the Apollo moon landings). Basically after some time, NASA told the astronauts to stop running around like this because it was causing more propellants to be used to maintain Skylab's correct attitude (orientation) in space (at least this is what I've been told...it would be nice to find a reference to back this claim up).
From this answer which shows the following screen shot from page 120 in this large, 436 page PDF of NASA Technical Memorandum NASA TM-X 64817: MSFC Skylab Attitude and Pointing Control System Mission Evaluation:
Question: How many times would two astronauts have to run around on this track to turn Skylab by 10 arc minutes around its long axis?
The question is a bit challenging and may be difficult to answer, depending on the orientation of the long axis with respect to the orbital plane and direction of motion. If necessary to simplify answering, one can choose it to be perpendicular to the orbital plane.
Source: Classic NASA Film - Skylab - #4
Clarifications that were captured in comments which have since been moved:
This question is about rotation, it’s not about the oscillation. Rotation around the long axis by 10 arc minutes changes the direction of the other two axes by that amount.
When the astronauts stop “rotating” the spacecraft will also stop rotating, but it will have been rotated by a small amount.
Assume that the two astronauts want to do this on purpose and have disabled or adjusted the attitude control system so as not to fight or resist this rotation.
Assume that the astronauts are running in the same direction spaced by 180 degrees, opposite each other.
If it takes a long time, there may be some complexities depending on if Skylab is currently operating in an Earth-oriented or Sun-oriented attitude (for more see the linked NASA Technical Memorandum). You may make some simplifying assumptions if it helps.