Assign roles through a cron job

Re: Assign roles through a cron job

by Jaume Albaigès -
Number of replies: 0

Please forgive me if you already saw this message, but as no answers were provided after a couple of weeks, I'm trying a second chance.

*********************

Hello,

I would like to create a cron job in order to assign the non-editing teacher role locally (for a feedback module) for all users who do not have it.

Any ideas on how doing this?

Thanks in advance,

Jaume