Refactoring2

minutely, daily etc ... should be constants defined once and reused everywhere it is needed