Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Turn off Periodic import in Feeds Import UI
- Extend dursh_feeds_import module to have more drush commands (drush_feeds_import.drush.inc)
- - See import progress: drush feeds-state --feed-id=feed_importer_1
- - Add watchdog (type:Feeds): drush feeds-log --m="some message"
- - Unlock a feed if it's locked: drush feeds-unlock --feed-id=feed_importer_1
- Use shell scripts to run large imports in schedule
- - import-a-feed.sh starts a feed import.
- If the feed is locked because import progress or clear progress is not completed,
- the feed will be unlocked and a whole new import will be started
- - import-all-daily-feeds.sh imports all feeds.
- Each feed will be completely imported when import-all-daily-feeds.sh is finished. Or the maximum number of batches is reached.
- Each feed will be imported one after another
- import-all-daily-feeds.sh will be used in crontab which runs once a day.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement