Fix weekly/monthly time scheduling