Choosing which one to use will depend on the focus of the task you want to trigger periodically.
If it’s a backend task, then using background make more sense.
If you are calling something like rx.call_script() then using rx.moment will be better to reduce the exchanges between frontend and backend.