Programmatically enable data connection every 30 minutes? How can I enable (WiFi and Data) connection every 30 minutes, then keep it active for 2 minutes (time required to get any notifications), and then disable the connection again?

Are there any solutions besides Tasker?
If you dont want to pay for Tasker, use the free alternative Automate. It has similar functionality and can automate the same things.