O'Reilly logo

Yii Rapid Application Development Hotshot by James R. Hamilton III, Lauren J. O'Meara

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Let It Work While You Sleep – Reports and Job Queues

This project is all about reporting and scheduling. We will create a job queue to schedule resource intensive work for off-peak hours and a report on our data to demonstrate some reporting/presentation packages that you can use with Yii.

Mission Briefing

The idea of writing a job is to manage a bit of code that will consume a noticeable amount of resources to execute. It is something you do not need to execute immediately, so you can load the work, ask it to run at a time where it will least impact your site, and then check on the results later.

One type of process that fits this description is correspondence, and another type is report generation.

We will build a system for managing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required