Remove RunMode from Scheduled Tasks

Skip to first unread message

Alexander Obuhovich

Jan 10, 2012, 7:32:56 AM1/10/12
to In-Portal Development
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.

Best Regards,

Dmitry A.

Jan 10, 2012, 5:41:52 PM1/10/12
Hi Alex,

Thanks for the Task and Patch first of!

I have reviewed the Patch and I think you are missing TABLE ALTER where you remove unused Column.


Alexander Obuhovich

Jan 11, 2012, 3:30:57 AM1/11/12
It looks like I haven't removed that column in my database, that's why I also forgot to insert ALTER TABLE statement.

Now it's fixed & commited.
Reply all
Reply to author
0 new messages