Jump to content

15.定时运行IPS论坛任务


Recommended Posts

---------------------------------
定时运行IPS论坛任务
---------------------------------

配置定时运行IPS论坛任务

IPS论坛后台 -> 系统 -> 高级配置 -> 任务方法 -> 使用 Cron (建议) -> 保存


你应该设置Cron每分钟运行以下命令:
/www/server/php/80/bin/php -d memory_limit=-1 -d max_execution_time=0 /www/wwwrootxxxxxxxx

就会得到这段Cron脚本 (每台服务器都不一样),复制并黏贴到宝塔面板的计划任务

Cron1.png

 

 

 

 


宝塔面板 -> 计划任务 -> 任务类型 -> Shell脚本

任务名称 -> Cron

执行周期 -> N分钟 -> 1分钟

脚本内容 -> 将你的IPS论坛Cron脚本黏贴到这里  -> 添加任务

Cron2.png

 

Cron3.png

 

Edited by Jack
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...