Run cli automatically with cron jobs possible?

I have a command line that when executing from ssh works without problems to the website that I need there is some way to execute that command line without always having to enter through ssh, I saw that it can be done with cron job if someone could give me some idea