It would be nice to have a Drush command to queue a CSV file with user data to be imported.

CommentFileSizeAuthor
#1 drush-support-1184776-1.patch3.34 KBcyberwolf

Comments

cyberwolf’s picture

Status: Active » Needs review
StatusFileSize
new3.34 KB

Attaching a patch for git master branch.

robert castelo’s picture

Status: Needs review » Fixed

Thanks.

Committing to User Import 6.x-2.4.

robert castelo’s picture

Opps, I meant committing to 6.x-2.5.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

abaier’s picture

Issue summary: View changes

Just one question: There is no way to import files through drush directly without waiting for the next cron run, right?

jwilson3’s picture

@ABaier, sure, you can force the specific cronjob to run with:

$ drush ev 'user_import_cron();'

You may also want to set a really high value for user_import_max so you don't have to call this function multiple times.

$ drush vset user_import_max 500