I'm trying to use below but it doesn't work:
*/3 * * * * java -jar /opt/Folder1/Utility.jar > /var/log/date +\%Y-\%m-\%d_\%H:\%M:\%S-backup.log 2>&1
Could you pls guide where it went wrong?
ref: Sending cron output to a file with a timestamp in its name
thanks