Crontab -e, mail not delivered

On my virtual private linux centos 5.x server i did command “crontab -e
the file was empty, i added this:

 */1 * * * * bash /temporarillydeactivated/
*/1 * * * * /temporarilydeactivate/ >/dev/null 2>&1
*/1 * * * * /root/dom/[B]#[/B] >/dev/null 2>&1
* * * * * sleep 30; /root/ >/dev/null 2>&1

Please why no mail arriving to i checked and command: echo “body” | mail -s “subject” delivers email OK…

cron emails you the output of any script it runs (if there is any). Since you’re routing all output to /dev/null, you will never get any email because there is nothing to email.

my command is /root/dom/ >/dev/null 2>&1

notice “#”

Comment in cron only work at the start of the line, not half way like you have since cron wil just pass it on to the command verbatim