What about using javascript. It would only work while the user is on the site, 
but it would be able to call a function (also ajax if you want to trigger a php 
method) very x seconds.

-flosky



Ryan Schmidt <google-2...@ryandesign.com> schrieb:


On Nov 4, 2011, at 00:17, zuha wrote:

> is there anyway to run a process separate from the page load. I would love to 
> run a pseudo cronjob on each page load if it could be done without negatively 
> effecting performance in a serious way. (I was thinking curl, and ajax, but 
> they didn't really seem to fit the bill) Any experts out there know how to 
> start a cron task outside of the page load, but triggered by a page load?

cron is a program that schedules things to run at particular times of the day. 
"start a cron task ... triggered by a page load" therefore doesn't make sense.

What kind of task do you want to start? The solution might be different 
depending on the task.


-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to