When the drupal cron is run after the fix for spelling of $sync_field on line 133 is fixed, there one error and one warning are placed in the log file:

"Cron run exceeded the time limit and was aborted" and "Access Denied". When the CivicRM Constant Contact Integration module is de-activated, these alerts go away.

Type cron
Date Wednesday, April 20, 2011 - 4:45pm
User Anonymous
Location http://xxxx.com/cron.php
Referrer
Message Cron run exceeded the time limit and was aborted.

Type access denied
Date Wednesday, April 20, 2011 - 4:45pm
User Anonymous
Location http://xxxx.com/batch?op=start&id=31
Referrer
Message batch
Severity warning

Comments

bigjim’s picture

Bweber can you contact me offline (via my contact form) I would like to learn more about your dataset we can't reproduce this error with datasets as large as 10K names

akakadak’s picture

I am getting this regularly in my tests - and that is just with the sample dataset that comes from the CIviCRM installer.

akakadak’s picture

It appears that the batch processing fails every time. Anyone able to track down why?

Nick Robillard’s picture

Yeah batch processing takes over when i run cron and cron can never complete. It doesn't make sense (nor is it supported) to use Drupal batch api during a cron run.

I ended up modifying bulk_update() function to directly execute contact_upload() when being hit by cron. If i hit timeout issues, i'll add functionality that only processes X amount per cron run.