matfish Posted September 2, 2009 Share Posted September 2, 2009 Hi there, I've set up a crontab using Plesk but every time it's invoked, I get an email saying: Hi. This is the qmail-send program at [my-server-address]. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out. <[ftp_user_name]@my-server-address>: Sorry, no mailbox here by that name. (#5.1.1) Any ideas why I get these emails every time it runs, or how to turn them off? Many thanks Link to comment https://forums.phpfreaks.com/topic/172834-cron-emails/ Share on other sites More sharing options...
DEVILofDARKNESS Posted September 2, 2009 Share Posted September 2, 2009 If you add the following on the end of the file >/dev/null 2>&1 cron stops with emailing you, but keeps active So you'd have: 15 * * * * script.sh >/dev/null 2>&1 Link to comment https://forums.phpfreaks.com/topic/172834-cron-emails/#findComment-911067 Share on other sites More sharing options...
matfish Posted September 6, 2009 Author Share Posted September 6, 2009 Thank you - that seems to work. Link to comment https://forums.phpfreaks.com/topic/172834-cron-emails/#findComment-913555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.