MediaTemple cron 作业在 1&1 Internet 上工作吗?
我必须获得当前正在 MediaTemple(网格服务)上运行的 cron 作业才能在新的 1&1 Internet 帐户上运行。我还没有这样做,但是有什么我需要考虑的吗?或者...实际上... cron 作业就是 cron 作业,它们会在哪里工作?
这是一个从数据库发送邮件列表的 cron 作业。
为了让它顺利工作,我需要考虑什么?
I've having to get a cron job that's currently working on MediaTemple (Grid Service) to work on a new 1&1 Internet account. I've yet to do this yet, but is there anything I need to take into consideration? Or... effectively... cron jobs are cron jobs, they'll work where ever?
It's a cron job to send out a mailing list from a database.
Anything I need to consider to make it work smoothly?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果你说的是php,你可以先检查php中的max_execution_time,以防发送列表的过程超过这个时间,这可能不太好。
If you're talking about php, you may check first max_execution_time in php, in case the process of sending the list gets over that time, wich may not be very good.
您可能想了解 1&1 的邮寄限制。 (他们可能希望您发送至不超过 N 个电子邮件地址。)
我认为对于 1&1,您可以通过 .htaccess 设置自定义值,例如 max_execution_time。您可能还想监视它使用了多少内存并设置适当的 php_flag。
祝你好运!
You may want to explore 1&1's mailing limits. (They may prefer you send to no more than N email addresses.)
I think with 1&1 you can set custom values like max_execution_time via .htaccess. You may also want to monitor how much memory this uses and set the appropriate php_flag.
Best of luck!