There's a task.
When user is registered he's assigned an advanced role, but in three month this role should be taken away.
Could you clarify me, is it possible to create this action programmatically using opportunities of modules rules and rules_scheduler ?
Or, is it possible to assign programmatically a postponed executing for some php function via modules rules and rules scheduler ?
I found a function rules_scheduler_schedule_task in the rules_scheduler.module file, but i can't understand how to create parameter $task.
Could you help me, how to do it ?