Accessing data through Cron

For programming and general questions on Zend Framework
Post Reply
uday4885
Posts: 1
Joined: Mon Sep 14, 2015 5:52 am

Accessing data through Cron

Post by uday4885 » Mon Sep 14, 2015 5:56 am

Hi,

I am using ZendFrame work in my web application. I have a requirement to setup a cronjob to execute a php script to retrieve a large amount of data. The record spans around 3600 which can gradually increase. With this much amount of data I am facing script execution timepout error.

Increasing the script execution time out is not a solution as its not possible to increase the timeout evrytime.

Can anyone help me in implementing this in correct way?

Regards,
Uday

tedtiger
Posts: 244
Joined: Thu Mar 05, 2009 4:59 pm
Location: Germany
Contact:

Re: Accessing data through Cron

Post by tedtiger » Mon Sep 14, 2015 7:02 am

Use php as cli script. Those scripts have no timeout.

Post Reply