Added schedule and rake task to publish posts.