Creating recurring tasks

I like to have a select field ‘Recurring’ in a Task database that allows a user to set a task as recurring daily, weekly, monthly, or yearly.
What would be the best approach? Is see the following methods:

  1. The moment the select field is set , this triggers a entity form field that asks for the number of instances to be created.
  2. Or, the moment the select field is set, this triggers the creation of a schedule entity that works as a template to repeatedly create a Task after a specified time, either once a day, once a week , etc.
  3. Other methods?

It depends what you mean by ‘Recurring task’.
Is it a series of Task entities, created all at once, each with a different date value, representing the desired intervals?
Is it a series of Task entities that get created, one at a time, on a predefined schedule?
Is it a single Task entity whose date is updated everytime the date is reached/exceeded?

You need to understand what you want to do with your tasks (and when) before deciding which of these (or some other solution) is most appropriate?

1 Like