I have a database with thousands of TV-shows which now and then gets updated by scraping info from http://thetvdb.com/ .
Problem:
The updates are done in batch jobs of 10-30 shows, which will most likely break the 30 seconds script limit on most servers.
Workarounds:
One option is to increase the script time limit another is to have the update-page refresh itself for every show it updates. Neither of these solutions seem proper.
Looking for:
A solution which calls the update script for each show that needs to updated. AJAX seems like the way to go, but is there a way for Yii to ease this task?