跳轉到內容
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.

論壇/寶塔 設置Cron 每分鐘運行論壇的任務

精選回覆

發表於

論壇/寶塔 設置Cron 每分鐘運行論壇的任務

論壇後台 -> 系統 -> 進階配置 -> 任務方式 -> 使用 Cron (建議)
如果您能夠在伺服器上設置Cron,則可以運行這些任務。這是更可靠的,建議這麼做。 

Cron-01.png

 

 

 

 

將那行命令Copy到寶塔面板
/www/server/php/73/bin/php ******************

 

寶塔面板 -> 計劃任務 -> 任務類型 -> Shell腳本

任务名称 -> Cron

执行周期 -> 1分鐘

脚本内容 -> 貼上論壇的那行命令

-> 添加任務

Cron-02.png

 

 

Cron-03.png

 

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

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.