How to send a SMS every x days?
Posted: 24 Apr 2015 13:59
What would be the simplest method to achieve this? The phone might be rebooted in between so any variables set would be lost.
Should I set a flow, using the time trigger, and a script to test the inverval by dividing the current date in days by x and see if it's a whole number? If, so, what should such an expression in the script look like, please?
(The use case is a cheap phone being used at home for home automation, and that I have to instigate a chargeable event every 90 days to keep its SIM active on the GSM network. The phone in question is normally only used to receive SMSs to trigger actions that take place over WiFi, so no chargeable events occur)
Should I set a flow, using the time trigger, and a script to test the inverval by dividing the current date in days by x and see if it's a whole number? If, so, what should such an expression in the script look like, please?
(The use case is a cheap phone being used at home for home automation, and that I have to instigate a chargeable event every 90 days to keep its SIM active on the GSM network. The phone in question is normally only used to receive SMSs to trigger actions that take place over WiFi, so no chargeable events occur)