Files
orangecat/scripts/systemd/orangecat-cron@task-reminders.timer
Cato d57afbeec1 feat(planner): a reminder tells you when it is due (in-app notification, no model call) (#1845)
The Cat's set_reminder stored a task with is_reminder and a due date, and
nothing read it at its time. A job every 5 minutes (api/cron/task-reminders,
systemd orangecat-cron@task-reminders.timer) now sends the owner an in-app
notification once (tasks.reminded_at), linking to the task. No model call.
2026-11-19 20:29:17 +01:00

14 lines
439 B
SYSTEMD

# SSOT: repo scripts/systemd/ — installed by deploy-selfhost.sh.
# Instance of the generic orangecat-cron@.service template (curls
# /api/cron/task-reminders with CRON_SECRET). Every 5 minutes, each reminder
# that fell due sends its owner an in-app notification, once. No model call.
[Unit]
Description=OrangeCat task reminders (every 5 minutes)
[Timer]
OnCalendar=*-*-* *:00/5:00 UTC
Persistent=true
[Install]
WantedBy=timers.target