Cron runs only once instead every minute
The script does run every minute but
> truncates the file each time.
If the file does not exist, it shall be created; otherwise, it shall be truncated to be an empty file after being opened.
>> instead to append to the file.