Insomnia and Insomnia Pro for iPhone
Allows applications to continue to run and WiFi to stay connected long after the screen has been switched off. Runs as a background daemon with a status bar icon and survives reboots and re-springs.
Contains a banner ad.
Has no ads and has a scheduling feature.
Available to buy in Cydia for $2.99.