What's Changed
✨ Features
- Run macOS Shortcuts as tasks — pick a Shortcut from a dropdown (loaded from
shortcuts list) and TaskTick will trigger it viashortcuts run. The "Script" tab is now called "Action" to cover both shell scripts and Shortcuts. Shell / pre-run / working-directory fields auto-hide for Shortcut tasks. - Sub-minute custom intervals — the "Custom" repeat unit now includes Seconds and Minutes, so you can finally schedule a task every 30 seconds.
🐛 Fixes
- #30 Scheduled task didn't auto-execute when no date/time set — a task with the new repeat system (e.g. "Every Minute") but no date/time anchor was silently falling into a legacy code path and returning
nilfornextRunAt, so the scheduler skipped it forever. Tightened the legacy guard to only fire whenintervalSecondsis actually set.
更新内容
✨ 新功能
- 支持调用 macOS 快捷指令 — 编辑器里新增「快捷指令」动作来源,下拉直接选本机的 Shortcut,TaskTick 通过
shortcuts run触发。「脚本」tab 改名为「动作」以涵盖两种执行方式。选了 Shortcut 时,Shell / 前置命令 / 工作目录字段自动隐藏。 - 自定义重复支持秒 / 分钟 — 重复选「自定义」时,单位下拉新增「秒」和「分钟」,可以做「每 30 秒跑一次」这种调度。
🐛 修复
- #30 没设日期/时间的定时任务不会自动执行 — 走新调度系统(如「每分钟」)但日期/时间都关时,会错误命中 legacy 分支返回
nil,导致nextRunAt永远为 nil,调度器一直跳过。修复后兜底逻辑正常生效。
Full Changelog: v1.8.4...v1.9.0