I am looking for a means to do the following tasks to be done at predefined periods (say on the 1st of every month):
- Enable SIM2 on a dual-SIM phone
- Send an SMS to a specific phone number using SIM2 (the text for the SMS will not change)
- Disable SIM2
If I could get a Shell script that can do these tasks, I am hoping I can schedule the script using an App like MacroDroid. But if someone wants to suggest an alternate, for example using an App directly then that would be fine as well.
Note that the script must be able to run on a NON-rooted phone.
Also, before completing the project, I would like to have the developer tested the Shell script with MacroDroid (or a similar App they suggest), scheduling it to run on a specific date and time.