Study-Together-Org / time_counter

12 stars 5 forks source link

Roles still not being rest automatically after adding script #84

Open marianacs17 opened 2 years ago

marianacs17 commented 2 years ago

Roles are still not being reset automatically on StudyStream after adding the script provided in previous issue #81 Do not know what could be the problem. Also, does the roles reset when is 1st of every month on Asia or until it is in the whole world?

Zackhardtoname commented 2 years ago

You can set the reset time to be any particular time zone. I think by default it's UTC. By adding the script, I actually meant that you should run it perhaps by including it as a docker instance and a systemd or cron job. :)

Zackhardtoname commented 2 years ago

You could open the issues I closed :) I'll keep this open. Please let me know how it goes

Zackhardtoname commented 2 years ago

Hi @Zackhardtoname Does the script reset only the roles or all progress?

I am not at my desk now and don't quite understand your question. Can you take a look inside the script? The code is pretty straightforward.