发送电子邮件:Cron 作业
在我的项目中,我需要每月向网站的注册会员发送一次电子邮件。为此,我在 cpanel 上设置了一个 cron 作业,并且运行良好。
我怀疑的是,明天该网站的用户数量将会增加,将会有数千个用户。那么 cron 作业是否正常工作?
我想知道,cron 是否可以处理一次向数千个用户发送电子邮件的任务。
请帮忙。
in my project, i need to send emails to the registered members of the site once every month. For this, i have setup a cron job on cpanel and it is working fine.
Whats my doubt is that, tomorrow the number of users in the site will increase and there would be thousands of users. Then does the cron job work as usual ?
I want to know, whether the cron can handle the task of sending emails to thousands of users at a time.
Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当心。大多数服务器设置为一次仅发送一定数量的电子邮件,尝试一次发送超过此数量的电子邮件的结果可能是灾难性的(根据经验)。
我会暂时暂停发送,并与您的托管公司联系以找出继续的最佳方法。
Be careful. Most servers are set to only send a set amount of emails at a time, and the results of trying to send more than this at once can be catastrophic (speaking from experience).
I would pause the send for now, and speak to your hosting company to find out the best way to proceed.