跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

vBulletin 6.0 Cron 配置 (宝塔面板)

精選回覆

發表於

Cron配置让vBulletin正常运行论坛任务 (宝塔面板)

cron脚本将处理运行vBulletin计划任务 (论坛后台的计划任务菜单)

避免由于没有足够的流量来及时触发所有脚本而导致计划任务无法运行的问题

 

-----------------------------------------------------------------
修改 vbcron.php
-----------------------------------------------------------------

在vBulletin 6.0 论坛程序.zip 的 do_not_upload 文件夹中,可找到vbcron.php

 

修改 vbcron.php

修改为宝塔面板的路径

$core = '/www/wwwroot/域名.com/core';

 

保存并离开
:wq

 

 

 

-----------------------------------------------------------------
上传 vbcron.php
-----------------------------------------------------------------

将 vbcron.php 上传到服务器

最好在 webroot 目录之外

那么 vbcron.php 上传到 /www/wwwroot/

 

 


-----------------------------------------------------------------
Cron 定时运行任务
-----------------------------------------------------------------

你应该设置Cron每分钟运行以下命令

改为宝塔面板用的PHP路径 (PHP 8.0)

/www/server/php/80/bin/php /www/wwwroot/vbcron.php

 

cron.png

 

 

-----------------------------------------------------------------
关闭论坛的任务运行,交给cron来运行
-----------------------------------------------------------------

论坛后台 -> 设置 -> 选项 -> 服务器设置和优化 ->

启用计划任务 -> 否

启用基于浏览器的系统事件 -> 否

-> 保存

 

 


论坛后台 -> 设置 -> 选项 -> 电子邮件 ->

使用基于Cron的发送 -> 是

-> 保存

 

本文章最後於,由Jack編輯

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.