If incoming messages are not seen within 24 hours, we want to send an SMS. Is it possible to do this?

If incoming messages are not seen within 24 hours, we want to send an SMS. Is it possible to do this?