applescript: sendmail & crontab

I got a acript that send mail. It works fine when I run in script editor, but won’t run when scheduled in crontab as system. But it works when the crontab is scheduled under a user setting. Could anyone help me. I want to the script running every hour when I’m not even log in.

Check the logs (use console) to see what kind of error crontab is hitting.