How to remove auto draft posts


How to remove auto draft posts.

As wp every time you add new post is basically created and then open as auto draft post_status in edit mode.

if user do not hit save publish button then that post will be in auto draft status.

Here lots of posts created in db as auto draft status.

Please tell me how to set wp Auto Delete that post or have to set the cron of this or any other wp native solution ?

— in our use case , we created custom post type and listing all posts only which in publish mode,

so auto draft not using here, as that is restricted feature to create this custom post type, we can not change this.