Keeping cron jobs in a file under version control is nice: you edit the file and install it with crontab cron.txt. Just know what that command does.
crontab cron.txt
It installs the file as your new crontab. Whatever was in your crontab before is gone, not merged. If the file has only the new job, every other job you had has disappeared, without a question or a backup.
So I’d always start from the current state:
crontab -l > cron.txt # save what is there now
nano cron.txt # change or add lines
crontab cron.txt # install the result
To add one line from a script without opening an editor, combine the current list with the new line and feed it back through standard input, which crontab - reads:
( crontab -l 2>/dev/null; echo '15 4 * * * /usr/local/bin/report.sh' ) | crontab -
The 2>/dev/null hides the “no crontab for user” message when the crontab is still empty.
That last pattern adds the line again every time the script runs, so you get duplicates. Check first with crontab -l | grep -F report.sh, or manage the whole file in one place. For system-wide jobs, a file in /etc/cron.d is easier to install and remove, because it doesn’t touch anyone’s personal crontab.
Further reading: crontab(1) manual page, Debian cron
Going deeper: Guide: find out why a Linux service failed, with journalctl