Tuesday, February 22, 2011

Re: Creating Shell for cron job

On Feb 22, 2011, at 20:29, cake-learner wrote:

> I am setting up the shell so that i can register as a cron job for
> maintenance tasks.
>
> In the past i do it manually and need to check if there is the same
> process running.
> If I use the shell I don't need to consider that?

Um... I don't see any reason to believe the CakePHP shell would behave differently. If you don't want your script to run if another copy of itself is already running, I'd guess you'd have to write the code to prevent that, just as you would if you were writing a non-CakePHP script or a perl script or whatever.


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: