每小时自动运行一个 php [英] run a php automatically after every hour

查看:59
本文介绍了每小时自动运行一个 php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用共享的 Windows 主机,其中允许通过 php 代码发送 120 封邮件/小时.我有一个 php 页面,可以一次发送超过 200 封邮件.但我想在每小时(计划任务)之后运行该页面.我将拆分电子邮件(以 100 秒为单位)并希望在每小时后自动发送.

I am using a shared windows hosting in which sending 120 mails/hour is allowed though php code. i have a php page to send emails more than 200 mails at a time.But i want to run the page, after every hour(scheduled task). I will split the emails(in 100s) and want send automatically after every hour.

这怎么可能在 php 中每小时运行一个 php 页面?

How is this possible in php to run a php page after every hour ?

谢谢

推荐答案

您可以在 Windows 中安排任务 - 控制面板->管理工具是您找到任务计划程序的地方.

You can schedule a task in Windows - control panel->administrative tools is where you find task scheduler.

这篇关于每小时自动运行一个 php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆