I'm building a very feed heavy site, so there's lots of different feeds and some really create a performance hit on the site when they run. Is there a way to schedule feeds to update at specific times?

For example, I have a very intensive feed that I'd like to schedule 1 time per day at 2am. Others are ok to run during the day at regular intervals.

Is this possible somehow?

Comments

vikfroberg’s picture

I got the same problem. The providers want us to run the import at a specific time.

Love to hear if someone has solved this. Can't find any settings in Feeds more than "every 12 hour" etc.

Thanks!

micromegas’s picture

Did anyone find a good way to do this?

I need to run a feed at a certain time every day. I see Feeds already has a periodic import interval option of "daily", but it doesn't say specifically at what time of day this daily import occurs; is there a way to set this? Also, for example, if I used the "every 12 hours" interval: twelve hours from what? From the time I save the setting? From the next time cron runs?

The docs at https://drupal.org/node/638804 don't go into anymore detail, either.

Any help or information would be appreciated.

micromegas’s picture

Status: Active » Closed (duplicate)

This use-case is solved by using Feeds drush integration (see Issue 608408).

You can install drush on the server, set up your feed, and then configure Cron to do drush feeds-import [feedname] --file=[filepath] at the specific times.

cdmo’s picture

That's one way to do it, though drush integration isn't on a stable release of the project yet.

Another option would be to use Elysia Cron. Though this only lets you schedule the cron running of all feeds on your site.

oheller’s picture