Currently all scheduled tasks are divided into ones that run before content is displayed to site visitor and after content is displayed to site visitor.
All "before" scheduled tasks usually process some url parameters, that might affect what information is displayed to site visitor. However, when scheduled tasks are moved to Cron, then no processing is done and for ex. whole affiliate system stops working.
I propose to get rid of such before/after separation and make all "before" scheduled tasks as hooks to adm:OnStartup event.
Ready for testing.