List all tasks due in the next n days

Retrieve all tasks from a specific list that are due within the next n days

Run this query

To run this query, you can use the following command:

anyquery run list_all_tasks_that_are_due_in_the_next_n_days <list_id> <days>

Arguments

List ID

The ID of the list to fetch tasks from

Number of days

The number of days from today to check for due tasks

Additional informations

Source code Author

Tip

You can limit the number of results returned by a query using the --limit flag. For example, to limit the results to 10 rows, run anyquery run --limit 10.