• Resolved tdemartinis

    (@tdemartinis)


    Hello,
    I cannot seem to find this info anywhere.
    Is there a way to script or have Connection Business Directory auto update/import a csv?
    Where have 100’s of employees and positions change all the time, so it would be great if we can this process automated rather than manually editing the users every time.

    Cheers,

    Tino

    https://wordpress.org/plugins/connections/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    @ tdemartinis

    There’s nothing officially supported or any code I could point you too, but I can say many others have done this by creating a cron utilizing the CSV Import extension to do daily imports. The specific details I was not privy too. Basically you would have to custom code and set this up.

    Thread Starter tdemartinis

    (@tdemartinis)

    Thanks for the reply!
    Setting a cron to have the csv imported to the server would be fairly easy but how would I do the actual import to the DB from the command line? Or is the cron job scheduled in the WP dashboard?

    Cheers,

    Tino

    Plugin Author Steven

    (@shazahm1hotmailcom)

    @ tdemartinis

    Unfortunately, like I said, I really do not know the details of their implementation.

    I suspect it was a server side PHP script that ran via a server cron which bootstrapped WP and used the import function in the CSV Import extension to do the actual import. Or maybe they used WP-CLI to load WP and then used the import function. There’s few ways it could be done, I’ve just never done it myself so I can not give specific instructions.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘csv auto update/import’ is closed to new replies.