Describe the story
Delete all tasks on a schedule. The schedule should be configurable per environment. In non-production environments, delete all tasks every 5 minutes; in production every 15 minutes.
Acceptance criteria
GIVEN it is a scheduled time to invoke the function
WHEN the event is received
THEN the service deletes all tasks from the database
AND returns a success response
Additional context
n/a
Describe the story
Delete all tasks on a schedule. The schedule should be configurable per environment. In non-production environments, delete all tasks every 5 minutes; in production every 15 minutes.
Acceptance criteria
GIVEN it is a scheduled time to invoke the function
WHEN the event is received
THEN the service deletes all tasks from the database
AND returns a success response
Additional context
n/a