宝塔之定时任务

点击"计划任务"

任务类型:shell脚本

任务名称:自行定义即可

以PHP为例 ,在脚本内容里写入对应的调用, 一般以api最为方便。

php /www/wwwroot/demo.91ipfs.cn/public/api.php ipfs/Index/writeEX

php /www/wwwroot/demo.91ipfs.cn/public/api.php ipfs/Index/writefilfoxdata

php /www/wwwroot/demo.91ipfs.cn/public/api.php ipfs/Index/writefilgains

猜你喜欢

转载自blog.csdn.net/goldsway/article/details/121444695