It'd be better to know which phone you're using, but still, Taskr can do what you want. There are other automation apps out there, but I'm sure Taskr is the most popular of them all. You could also try Microsoft's On(x) or if you're using a Samsung unit, you can select which services to turn on and off and at which time in the "Blocking Mode" settings. I'm sure other handsets have these settings too, but maybe under a different name.