I was recently running a cron job using crontab -e and I found some strange behaviour. The following command doesn't work:
* * * * * cp /home/username/{*txt,*pdf} /home/username/test/
but the following does
* * * * * cp /home/username/*txt /home/username/test/
while both commands work in bash.
Why am I not able to use curly brackets in cron?