gix undefined var in cron, add log for start and end times in cron