refactoring, change frequency to cron syntax, see #4