Where is cron for UndoneTasksOverdueNotification defined?

I’ve created new function based on UndoneTasksOverdueNotification, but with a modified logic which is supposed to gather tasks due in next 24 hours and send an email in the same way as the existing function does with overdue tasks.
I can’t seem to find where its cron is defined and how UndoneTasksOverdueNotification is executed daily, so i can use the same method for the new one I created.

The cron task is defined here vikunja/task_overdue_reminder.go at main - vikunja - Gitea

And the function is called here vikunja/init.go at main - vikunja - Gitea

Do you want to send a PR for that functionality?

Push request, right ? I can, once i test it locally - which is what i have to figure out how to do using test files.

A Pull Request on vikunja/vikunja: The to-do app to organize your life. Public API Roadmap here: - vikunja - Gitea

This might help you with the testing: Testing | Vikunja

1 Like