Included in the citation is the abatement period. This is the time frame by which the violation must be corrected. OSHA typically sets this to be the shortest interval within which they feel the employer can reasonably be expected to correct the violation. It’s always indicated as a specific date, not a number of days.
And, it’s almost always not more than 30 days from when the citation was issued.
There are situations, however, especially for complex safety violations where abatement can’t be completed within 30 days. This could include new parts or equipment that need to be ordered, delivered, and installed. In these cases, OSHA would likely grant more than 30 days to fix the problem.