Periodic Custom Jobs

Hello.

I want to learn if it is possible to run some commands (those I run sometimes in my discourse rails console) periodacially in discourse. To be clear, I clear some data in my community every two week. I want to automate this. Is there any way for doing this?

Thank you in advance.

You could either write a plugin or if you can script it you could add to app.yml to add it as a cron job inside the container.

3 Likes