Remove RunMode from Scheduled Tasks

4 views
Skip to first unread message

Alexander Obuhovich

unread,
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,

http://www.in-portal.com
http://www.alex-time.com

Dmitry A.

unread,
Jan 10, 2012, 5:41:52 PM1/10/12
to in-por...@googlegroups.com
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.

DA

Alexander Obuhovich

unread,
Jan 11, 2012, 3:30:57 AM1/11/12
to in-por...@googlegroups.com
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
Forward
0 new messages