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

Adding Job Scheduling

In this task, we will clean up and customize the scaffolded job scheduling pages, to make it easier for us to add and test job scheduling and processing in the following tasks.

Prepare for Lift Off

  1. Download the Yii extension timepicker from http://www.yiiframework.com/extension/timepicker/.
      cd ~/Downloads
      wget http://www.yiiframework.com/extension/timepicker/files/timepicker5.zip
    
  2. Unzip the package in your project's extensions directory.
      cd ~/projects/ch7/protected/extensions/
      unzip ~/Downloads/timepicker5.zip
    
  3. Add the following entry to the import array in ch7 | Source Files | protected | config | main.php.
      'ext.timepicker.*'

Engage Thrusters

  1. Start by adding a class variable named job_name to the ScheduledJob model in ...

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