Cron Job | mail to specific email address?

If I want to have the results of chkrootkit mailed to me can I do it via a cron job like this?

0 3 * * * (cd /path/to/chkrootkit; ./chkrootkit 2>&1 | mail -s "chkrootkit output" ) myemail@mydomain.com)

normally it would be to a user account like so

0 3 * * * (cd /path/to/chkrootkit; ./chkrootkit 2>&1 | mail -s "chkrootkit output" root)

but I want it sent to a specific email address and not a user account. Is this possible? Notice the bold above. Thank you.

 

 

 

 

Top