This question already has an answer here:
I have some cron jobs set up to run, some of them each minute. I know I can log them to text files by simply putting
php /path/to/file.php > /var/logs/something.txt but can I do this every minute? The nature of the log's output means that the log file will be very small, but I don't know how to log each minute's output to a separate file.