added data.json generation to cronjob, added commments to last_log