Completed the cron script and changed moment to use local time.