Advertisement
Guest User

Untitled

a guest
May 4th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. Turn off Periodic import in Feeds Import UI
  2. Extend dursh_feeds_import module to have more drush commands (drush_feeds_import.drush.inc)
  3. - See import progress: drush feeds-state --feed-id=feed_importer_1
  4. - Add watchdog (type:Feeds): drush feeds-log --m="some message"
  5. - Unlock a feed if it's locked: drush feeds-unlock --feed-id=feed_importer_1
  6. Use shell scripts to run large imports in schedule
  7. - import-a-feed.sh starts a feed import.
  8. If the feed is locked because import progress or clear progress is not completed,
  9. the feed will be unlocked and a whole new import will be started
  10. - import-all-daily-feeds.sh imports all feeds.
  11. Each feed will be completely imported when import-all-daily-feeds.sh is finished. Or the maximum number of batches is reached.
  12. Each feed will be imported one after another
  13. 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