This circuit is given in two versions, having been found in a publication from the 90s. The second circuit is used for long intervals with the switch isolated, that is, it turns off even after the programmed interval is completed if the switch is on.