I also don’t understand this question.
All you are doing by “publishing” is editing the category of the topic. So as long as the category permissions are set up correctly, here’s what happens:
- when the timer fires
, change the category of the topic from Foo
to Bar 
That’s it. That’s all that is happening.