command-line Ubuntu create new cron work Posted May 9, 2022 crontab -e or if you need to run your script as root: sudo crontab -e cron