I thought that I need something to extend my Battery life, what I found was Juice Defender.
One of the main functions is a simple Schedule, and thats possible with Tasker too:
How to setup:
Add the "Juice Toggle Task" as Widget and press it.
You get a notification (permanent) and you can press the notification to toggle JUICE on or off.
When Juice turned off, Autosync and Mobile data gets disabled and the Juice Scheduler Profile will enable them every hour, for about 2 minutes. You can edit the Schedule in the Juice Scheduler Context.
When Juice is turned on, Autosync and Mobile data gets enabled and the Schedule is not run, so if you like to use your internet normally you turn Juice on (Battery Juice drain).
See Files for the Profiles and Tasks…