cronjob appends to log instead of replaces.