Forum
Scheduled tasks fail to import MailChimp data
Hello,
I'm using the MailChimp App 3.1 on Perch Runway 3.0.1 on a live server and it works as expected. I've configured scheduled tasks to backup database and assets to a Dropbox account. Database and assets get backed up, but on Settings > Scheduled tasks I get a failed status for the MailChimp app:
Status: FAILED App: perch_mailchimp Task: import_data Result: Unknown Duration: 0s
I've configured the Cron job to email me every time it runs, and this is the error I get:
Undefined index: SCRIPT_NAME in /home/hvnhellc/public_html/perch/core/lib/Perch.class.php on line 82
Any idea what could be causing this?
That warning shouldn't be an issue - it's simply that your server isn't setting the
SCRIPT_NAME
environment variable. That shouldn't have any impact.Any reason you're posting before updating to the current version?
My bad; I should have done that first. I have now updated to Runway 3.0.4.
I still get the failed status though. I think it only backs up what had already been manually synced via the MailChimp app.
What do you think I should look into?
Does the import work when you use the app directly?
Yes, it does.
This isn't a huge issue for my client. The subscription form works and subscribers get added to the list on MailChimp. So this isn't urgent.
Thanks, Drew!