Feel free to adjust the quantities to suit your tastes and double up if you’re making a big batch. This pesto should last at least 2 weeks as long as you maintain a layer of oil on top. If you sterilise your jars properly, there’s no reason why it shouldn’t last 3–4 months.