SendEmailCreator icon indicating copy to clipboard operation
SendEmailCreator copied to clipboard

notification:overdue-tasks vs trigger:tasks

Open TimoStahl opened this issue 5 years ago • 4 comments

Hey @creecros,

in our system we have the following jobs:

trigger:tasks -> every hour notification:overdue-tasks -> once a day at 6:00

We like the idea to inform the user before the due date is overdue, like this plugin does. Unfortunately the trigger of this plugins runs every hour :(

Maybe it is possible to trigger this action by notification:overdue-tasks as well and not by the task backgound worker?

Regards, Timo

TimoStahl avatar Nov 06 '19 15:11 TimoStahl

You're running cron every hour?

creecros avatar Nov 06 '19 17:11 creecros

A while back, I added a rule for the task due date action, it will only mail once per day. I never added it to the subtask due date action though.

creecros avatar Nov 06 '19 18:11 creecros

./cli cronjob once at 06:00 to collect data and send overdue notifications ./cli trigger:tasks every hour to trigger some actions more than once a day

This rule for subtask would be perfect :)

TimoStahl avatar Nov 07 '19 08:11 TimoStahl

I'll have to find a solution for subtasks, i knew there was a reason why I didn't add to being with: https://github.com/kanboard/kanboard/issues/4066#issuecomment-436100088

creecros avatar Nov 07 '19 17:11 creecros

https://github.com/creecros/SendEmailCreator/commit/ea3cd7f369623666909e39fe7f17bd302e873604

creecros avatar Feb 10 '23 22:02 creecros