I need to create an additional node for each authenticated active user on a Drupal 7 site.
The nodes will be populated with default content from taxonomies, and also with some field content based on content owned by each user.
Something like :
- create node with author=user1
- field 1= populated from a taxonomy
- field 2= Count of number of nodes of content type A authored by user1 that are published
- field 3= current date
And then loop through all active users creating a similar node for each one.
What's the best way to handle this? Ideally I'd like to do it in a way so that the batch node creation job could be triggered by a scheduled Rule in future.
The idea is to provide a report showing a snapshot of the account status at a fixed time.