feat(app): Jobs › Scheduled and the desktop scheduler
Owner review 2, R10 on the desktop: every timer that queued work out of sight is now a visible, editable schedule of this PC. - DesktopScheduleHost implements IScheduleHost: the PC's time zone, the archive at Settings › Archive's folder (refreshed from archive.json, none while it is offline), and three system schedules: archive-scan (every:<ScanIntervalMinutes>m, seeded once from the old setting, no catch-up), index-backup (every day with catch-up, replacing DatabaseBackups.RunDailyAsync) and housekeeping (daily 04:00 with catch-up: job history 90 days and the new cache-trim step). - AppServices starts the Scheduler after the engine, once the archive was reopened; an unplugged archive is looked for every minute and the scheduler woken when it is back. The rescan loop and the daily backup loop are gone; ApplyJobSettings wakes the scheduler. - CacheStore.Trim brings the cache to Settings › Storage › Cache limit, oldest files first, skipping files in use and the proxies, render-node and server-import folders; CacheTrimStep runs it as a clean-up step. - Jobs gets a Queue | Scheduled segmented control. Scheduled lists the schedules (switch, name, action, when, next run, last result) with Run now, Edit, Reset (system) or Delete (user's, confirmed), the selected schedule's last runs with Show in queue, and an in-window editor that checks every field with the scheduler's limits. Jobs a schedule queued carry a "Scheduled" pill; the history line follows the housekeeping's job-history days. - JobNotices: a scheduled background run raises a toast only when it fails (upkeep stays silent). - Settings › Archive › Rescan every is removed; ScanIntervalMinutes stays only as the seed. Strings in en and it; the others are retranslated. - The capture shows jobs-scheduled and jobs-schedule-editor on a stopped scheduler clock with sample schedules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> (cherry picked from commit e25d812feb3f417cb9251c748c29e8035fd9b03c)
This commit is contained in:
1 parent
75daab7275
commit
bc786c12c4
108 files changed
+3724
-490
No files matched your search
@@ -56,7 +56,6 @@
|
||||
<data name="Settings.Archive.NoProxies" xml:space="preserve"><value>無</value></data>
|
||||
<data name="Settings.Archive.NotSaved" xml:space="preserve"><value>典藏庫設定未儲存</value></data>
|
||||
<data name="Settings.Archive.PickTitle" xml:space="preserve"><value>選擇典藏庫資料夾</value></data>
|
||||
<data name="Settings.Archive.Polling" xml:space="preserve"><value>重新掃描間隔</value></data>
|
||||
<data name="Settings.Archive.Preview" xml:space="preserve"><value>預覽</value></data>
|
||||
<data name="Settings.Archive.Proxies" xml:space="preserve"><value>代理檔大小</value></data>
|
||||
<data name="Settings.Archive.ResetAction" xml:space="preserve"><value>重設典藏庫</value></data>
|
||||
|
||||
@@ -339,7 +339,6 @@
|
||||
<data name="Tooltips.Jobs.Filter.Running" xml:space="preserve"><value>正在執行或已暫停</value></data>
|
||||
<data name="Tooltips.Jobs.Folder" xml:space="preserve"><value>在檔案總管中顯示資料夾</value></data>
|
||||
<data name="Tooltips.Jobs.HideLog" xml:space="preserve"><value>隱藏記錄</value></data>
|
||||
<data name="Tooltips.Jobs.History" xml:space="preserve"><value>Chronos 啟動時,會移除超過此期限的已完成工作</value></data>
|
||||
<data name="Tooltips.Jobs.Import" xml:space="preserve"><value>從記憶卡或資料夾匯入相片;匯入、分析與算圖接著會顯示在這裡</value></data>
|
||||
<data name="Tooltips.Jobs.MoveUp" xml:space="preserve"><value>提高優先順序:此工作會在優先順序較低的工作之前執行</value></data>
|
||||
<data name="Tooltips.Jobs.Open" xml:space="preserve"><value>開啟此工作所處理的項目</value></data>
|
||||
@@ -580,7 +579,6 @@
|
||||
<data name="Tooltips.Settings.Page.About" xml:space="preserve"><value>版本、組建、系統、授權、第三方程式碼</value></data>
|
||||
<data name="Tooltips.Settings.Page.Advanced" xml:space="preserve"><value>可攜式模式、記錄、診斷、資料庫備份與還原、重設</value></data>
|
||||
<data name="Tooltips.Settings.Page.Analysis" xml:space="preserve"><value>分析寬度、夜間與星空門檻、深度分析</value></data>
|
||||
<data name="Tooltips.Settings.Page.Archive" xml:space="preserve"><value>典藏庫資料夾、命名範本、代理檔與縮圖大小、重新掃描</value></data>
|
||||
<data name="Tooltips.Settings.Page.Formats" xml:space="preserve"><value>此電腦上各格式由哪個解碼器處理、編解碼器安裝連結</value></data>
|
||||
<data name="Tooltips.Settings.Page.General" xml:space="preserve"><value>語言、佈景主題、啟動、通知</value></data>
|
||||
<data name="Tooltips.Settings.Page.Import" xml:space="preserve"><value>拍攝時段規則、驗證、重複項目、匯入後動作</value></data>
|
||||
@@ -591,7 +589,6 @@
|
||||
<data name="Tooltips.Settings.Parallelism" xml:space="preserve"><value>執行中的工作同時處理的相片數;工作會逐一執行。數量越少,留給其他程式的資源越多 · Enter 套用,Esc 還原</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismAuto" xml:space="preserve"><value>自動:一半的邏輯核心</value></data>
|
||||
<data name="Tooltips.Settings.ParallelismReset" xml:space="preserve"><value>恢復自動:一半的邏輯核心</value></data>
|
||||
<data name="Tooltips.Settings.Polling" xml:space="preserve"><value>Chronos 重新掃描典藏庫的頻率,以偵測在他處(例如共用此典藏庫的伺服器)所做的變更</value></data>
|
||||
<data name="Tooltips.Settings.Portable" xml:space="preserve"><value>當 portable.txt 與 Chronos.exe 位於同一資料夾時開啟:所有資料都保留在其 data 資料夾中</value></data>
|
||||
<data name="Tooltips.Settings.PreferHardware" xml:space="preserve"><value>預設集支援時使用硬體編碼器;否則使用軟體</value></data>
|
||||
<data name="Tooltips.Settings.Preview" xml:space="preserve"><value>以這些範本進行範例匯入時的前三個名稱</value></data>
|
||||
|
||||
Reference in new issue
Block a user