user3480835
user3480835

Reputation: 1

Create a new node, for all users of certain role every day

I have a content type which I want a node to be created for every active user of a certain role every day.
The node should be "created" by the specific user, so they can go edit it when they login.

I've tried to use the rules module for it, but first of, I cant find a "react on event" that seems efficient.
Secondly, if I just use an event like "Cron maintenance tasks are performed", it doesn't seem that the actions and conditions are able to do what I want.

Upvotes: 0

Views: 70

Answers (1)

Bustikiller
Bustikiller

Reputation: 2508

You could create a module implementing hook_cron. In this hook you would have to get all users, check if they have a specific role, and then create a new node for each user.

I do not know any solution which does not involve creating a custom module. Hope it helps.

Upvotes: 0

Related Questions