The order required in this chapter shall set forth a time limit for compliance dependent upon the hazard and danger created by the violation. In case of immediate danger to persons or public property, the City Forester shall have the authority to require compliance upon service of the order.