I need help pls (Newbie here)

I want to add a cron code to vps Cron Jobs but i dont know how to save it back once i add it?

How can i save the added code pls

on ubuntu linux

On SSH use: crontab -e input your cron there and save

yeah… i did got here, but i dont know how to save after inputting the code

How do i save?

Ctrl+x to exit and then press Y and enter

got it thanks