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

12.定時運行IPS論壇任務

精選回覆

發表於

---------------------------------
定時運行IPS論壇任務
---------------------------------


論壇後台 -> 系統 -> 進階配置 -> 任務方式 -> 使用 Cron (建議) -> 儲存

 

當啟用此設置時,你必須確認Cron有正確設置。如果此設置已開啟,但沒有設置Cron,它會導致你的網站有重大的損壞。

 

你應該設置Cron每分鐘運行以下命令:
/www/server/php/81/bin/php -d memory_limit=-1 -d max_execution_time=0 /www/wwwroot/域名.com/applications/core/interface/task/task.php 數值


你將得到這一段Cron腳本 (每個伺服器都不同)

複製貼上到寶塔的計劃任務

 


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

任務名稱 -> 填入 Cron

執行週期 -> N分鐘 -> 1分鐘

腳本內容 -> 將上面那一段Cron腳本貼上  -> 添加任務

 

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

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.