The formula for the frequency with that type of oscillator (integrating oscillator) is complex because it is affected by the level that the opamp output voltage swings to, but the LM324 output swings pretty close to the supply rails.
The best type of opamp for an integrating oscillator is a rail-to-rail output (RRO) type, like an OPA192.
I am too lazy to work out the exact timing so I just use:
period = 1/f, which for 50Hz is 0.02 seconds (20ms). A half period is thus 0.01 seconds (10ms) so make C *R = 0.01 seconds.
And on the circuit, 100K * 100nF = 0.01 seconds (10ms). And then adjust the resistor to get the exact frequency that you want from the circuit when it is built.
spec