Subscribers from external database

Hi,
I would like to setup a script to update (or insert) users from an external database every night.
Is there some phplist command/component already prepared to accomplish that task?
If not, would be safe to just write to phplist user/attributes tables?

Thank you
Alex

@alex.zambonin you can run the phplist import2 page from the command line using the Subscribers plugin, see plugin:subscribers [phpList Resources]

You would need to construct a csv file with fields for the email address and each attribute.

Thank you Duncan,
I’ll give it a shot.