How do you stop cron entries from generating mail

I have a QNX 4.25 system and in cron I have a script that is generating an error and putting a message in the /usr/spool/mail/root file, and I do not want it to generate any mail.
Does anyone know how to turn configure the system so that errors generated by scrips in cron do not generate an email for root.

any assistance would be greatly appreciated.

Add “>/dev/null 2>/dev/null” to the cron lines to throw away any output.
If you would prefer to keep the output
“>/tmp/somefile.out 2>/tmp/somefile.err”
“>>/tmp/somefile.out 2>>/tmp/somefile.err”