$ sudo cat /etc/crontab
# ...comment lines elided...
0 0,12 * * * root sleep 1347 && certbot renew -q --post-hook 'sudo reboot'
sudo crontab -e shows
13 0,12 * * * root sleep 1347 && certbot renew -q
This VM is a simple default-configured Google Compute Engine VM with Debian Buster. I am logged in as a user joshua, but note that sudo does not require entering a password.
Which one (or perhaps both?) shows what cron actually does? What is the recommended way to edit the cron config, crontab -e or directly editing some file, e.g. with sudo vi?