Forums / Cotonti / Core Labs / Ideas / CRON Engine

Mynt
#16176 2009-08-18 15:46
Cron jobs, while great, can be a nuesance because of the lack of need. Not saying that recalculating forums posts, threads, and user syncs wouldn't be a great idea I don't see a large lackluster of mem leaks happening anywhere in which the synchronization would be pushed to far out of the loop. Unless you plan on recaching information into the database, I don't see a need for a cron yet.

The best way to make a cron task though is to do it GDLIB style. I find this is the most effecient way. Attaching a simple internal counter to a blank gd_image for views. When the file gets poached and it generates a new one after xxx views, then run the cron. I have set many of those up and see that as being the most effecient since it waits til xxx db queries before it even thinks of running a cron. Pointless to run a crontab on a site that gets less than 600 hits a day with less than 300 posts a day, you know?
"I only sleep when I know I won't miss a thing."