News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Matthew Weier O'Phinney:
Deployment with Zend Server (Part 2 of 8)
August 29, 2014 @ 11:55:04

Matthew Weier O'Phinney has posted the second part of his series with some tips around application deployment with Zend Server. In this latest post he shares his second tip related to recurring jobs.

This is the second in a series of eight posts detailing tips on deploying to Zend Server.The previous post in the series detailed getting started with zf-deploy to create ZPK packages to deploy to Zend Server. Today, I'm looking at how to created scheduled/recurring jobs using Zend Server's Job Queue; think of this as application-level cronjobs.

Instead of running the jobs as cron tasks (which may or may not be installed if there's multiple servers), he opts for a software-based approach. He walks you through the use of the Zend Server Job Queue to create a simple reoccurring execution to run a PHP script at a certain time. He includes some code examples with one showing just the scheduling of a job and the other showing how to detach previous jobs and add only the new ones that weren't scheduled before.

0 comments voice your opinion now!
deployment zendserver tip series part2 cron reoccurring jobs

Link: http://mwop.net/blog/2014-08-28-zend-server-deployment-part-2.html

blog comments powered by Disqus

Similar Posts

Master Zend Framework: Using Sessions In Zend Framework 2 - Part 2

NETTUTS.com: 6 CodeIgniter Hacks for the Masters

Matt Stauffer: Laravel 5.0 - Middleware (replacing Filters)

Matthew Weier O'Phinney: Deployment with Zend Server (Part 6 of 8) - Page Caching

Community News: Zend & Oracle Partner to Integrate Zend Server into ULN Packages


Community Events





Don't see your event here?
Let us know!


api symfony voicesoftheelephpant release install framework laravel list introduction community podcast package library language bugfix series opinion deployment tips interview

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework