XF 2.2 Migration of member promoted to Group B to Group A with scheduled task

htsumer

Active member
When the member first registers, I get promoted from Group A to Group B.
I want to use scheduled task to return to group A after 1 day. For this, what kind of code should I apply when I add a new scheduled task.
Group A ID:26
 

Brogan

XenForo moderator
Staff member
What are you trying to do?

In general promotions are used to add permissions and aren't typically removed after such a short time.

I suspect there will be another way to achieve what you want.
 

htsumer

Active member
The site is paid. He will be promoted to the group determined as one day open. I will end his promotion after 1 day, but I need to remove him from the scheduled tasks. not manual
 
Top