General developer forum

 
 
Picture of Cristian Matos
Cron.php put the site very slow
 

Hi, I'm having a problem with my site. I created a crontab and make the admin/cron.php run every 30 minutes. But when I do this it always put my site very slow.

I know this file is required for some modules and blocks to work, is it really necessary?

Running the file manually I've seen that the task named "Running clean up task" take all the time. All other tasks run fast. Can I disable the clean up tasks?

Any advise?

Thanks

 
Average of ratings: -
Picture of Howard Miller
Re: Cron.php put the site very slow
Group DevelopersGroup Documentation writersGroup Particularly helpful Moodlers

How long does it take?

What is the machine doing? Can you run 'top' in another window or similar to get an idea.

 
Average of ratings: -
Picture of Abhi puri
Re: Cron.php put the site very slow
 

How big is your database?

We had slow site cron, our scorm attempts had almost 600K lines in the database! trimmed it down, fixed the slowness issues.

 
Average of ratings: -