Command to send a text to any phone once every 15 mins.
while [ 1 ]; do sms NUMBER_GOES_HERE "$(date '+%I:%M %p') Hey Anju. Still awake?"; sleep 15m; done
Script calls the command ‘sms’ – you can define that command however you want. In my case, its a variation of this script.