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

Scaffolding the Job Objects

We will use two objects to manage the jobs. One is the job, which holds information about jobs registered with our system. The other is the scheduled job, which is the job queue entry. It represents a request to run a job, and contains the job results and any reported output when the job has finished running. In this section, we will scaffold both objects.

Engage Thrusters

  1. We have provided a table definition for the jobs – ready for your use. To load it in NetBeans, open an SQL command window for the cbdb database.
  2. Right-click on the command window and select Select in Projects.
  3. Navigate to the jobs SQL file, ch7 | Source Files | protected | data | job.sql, in the project window.
  4. Copy the contents from jobs.sql and paste ...

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