Need to send an email if no yesterday's record found for user


I need to send an email if there is no record found of yesterday for a particular user.

For sending an email I am using Scheduled Task.

i’m no expert but would using a roll up field to count the number of records filtered on ‘date is during the previous 1 day’. if that value is zero send the email.