Re: Long Execution Time - Safe Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Firstly always cc the mailing list so others can add their own suggestions.

Also please don't put your reply at the top, it makes it very hard to follow what's going on. Put it underneath or inline (put comments after mine and put more later on).

????? ???? wrote:
Several problems....

First, I don't have cron jobs either (Using OnlineCronJobs.com which limits me in the number of cron jobs). As I said, I am running the script every 8 hours.

Does your host not support cron jobs? Find another host - or find another cron provider that lets you run more frequently. There are others around.

If I'll "delete" the row from the db after *each* execution, then its 100 queries per page excluding the queries that already exists - a lot of resources,

No, it's not. A table with 100 rows is nothing, it's tiny. It takes longer for you to read this than it does for a db to process 100 rows.

--
Postgresql & php tutorials
http://www.designmagick.com/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux