How to set cron so that static content can be deployed automatically and there is no need to deploy it manually using SSH?

Instead of waste your server resources I recommend to switch your store to the developer mode, and the static content will be redeployed automatically on demand.