• Resolved apimag

    (@apimag)


    Hi,
    I have just started using the periodic Cron import feature, which is overall great btw!, but I just had an instance where I had a user go in and edit their password after the initial import ran.
    The .csv file hadn’t been updated prior to the next period the cron was due to run so the cron thought that it had to update the user obviously because it had different credentials (in this case the password).
    So when the user went to log in with what they thought was a password that they updated to it had reverted back to the original imported one.
    Is it possible for the cron to just add new users or at least recognise that the file has already been run (possibly by timestamp i guess?).

    https://ww.wp.xz.cn/plugins/import-users-from-csv-with-meta/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter apimag

    (@apimag)

    Hi,
    Just in case anyone else is hving this issue, as a work around I have setup a cron job in cpanel to delete the uploaded .csv file before the period of the next import.

    Plugin Author Javier Carazo

    (@carazo)

    apimag,

    Your solution in your problem have worked but yes, maybe you need something like you told me: delete the file after importing (an option to do it).

    We can do it if you support the develop.

    If you are interested write us to contacto AT codection DOT com.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cron import updates existing users’ is closed to new replies.