will the files copy when scheduled through cron tab during midnight with date format

ssh [email protected] “mkdir -p /root/Documents/folder_$(date +%d-%m-%y)” && scp /root/Documents/tryfile [email protected]:/root/Documents/folder_$(date +%d-%m-%y) using the above syntax I will make a directory in server1 with today’s date and then copy the files to sever2 for the recently created directory with date. and I am trying to schedule this shell script code in cron tab.which will run on…

Details