fixed cron an interval in json, added log