I have a CSV file hosted on a server that lists regularly updated user profile information. I have a download link for this CSV file. I want to automate the import process.
- Is there a code snippet to enable scheduled CSV imports? Maybe a snippet that allows site admins to set a cron job that passes the CSV file URL to Import Users from CSV; or
- Is there function I can add to a PHP file in which I can set static import options (e.g file to import, 'update profiles that already exist') then ping the PHP file when I want the import to run?
I'm open to other ideas. I'm considering editing the plugin to make it suit my particular use case but I'd prefer to use a code snippet if one already exists.
Thank you,
Lee
I have a CSV file hosted on a server that lists regularly updated user profile information. I have a download link for this CSV file. I want to automate the import process.
I'm open to other ideas. I'm considering editing the plugin to make it suit my particular use case but I'd prefer to use a code snippet if one already exists.
Thank you,
Lee