How do you create a long timer?

Yes, of course that's possible (all my apps run in standby / screen off for many hours), see here: