Anurag's suggestion for AWS Lambda is great, but if you're not using AWS elsewhere in your stack, I personally think that a FaaS offering like Cloudflare Workers would be much easier to get started with. If you're not already using AWS, it can be quite time consuming for you to get set up, and in your scenario (only needing to schedule a function to run a few times a day), this time cost might not be suitable.
You can write Cloudflare Workers using JavaScript (so all good on that front), and they have functionality for Cron-based triggering (see https://developers.cloudflare.com/workers/platform/cron-triggers). As for Twilio, Cloudflare even has an official tutorial for creating a Cloudflare Workers function that sends SMS notifications via Twilio: https://developers.cloudflare.com/workers/tutorials/github-sms-notifications-using-twilio.