I have a scenario where I'm calling asset.Publish() for one asset in the "post_publish.aspx" template file of other assets. All seems to work as intended when those assets are published manually. Shouldn't this work if those assets are published via the scheduler?
The context is that I have a number of items, sub-categories, and categories that all roll up to publish on one HTML page. So, this page needs to republish any time any of the categories, sub-categories, or items do. I call that page asset to publish in the post_publish.aspx file of the templates of the items, sub-categories, and categories. These are typically deployed using the scheduler—and it doesn't seem as though this is working.