setFreq('DAILY'); } catch (InvalidArgument) { throw new InvalidSchedulerException(); } return $rule; } }