cron.weekly script syntax error near unexpected token `('
#cat rpmnew
#!/bin/bash +x
# Check for new configs
# as a result of updating
/usr/bin/locate .rpmsave .rpmnew > (/usr/bin/mailx -s "Rpmsave and Rpmnew Configs" user)
when the script is run it goes:
./rpmnew
./rpmnew: line 4: syntax error near unexpected token ('
./rpmnew: line 4:
/usr/bin/locate .rpmsave .rpmnew > (/usr/bin/mailx -s "Rpmsave and Rpmnew Configs" user)'