In Ubuntu and many other distros, you can just put a file into the /etc/cron.d
directory containing a single line with a valid crontab entry. No need to add a line to an existing file.
If you just need something to run daily, just put a file into /etc/cron.daily
. Likewise, you can also drop files into /etc/cron.hourly
, /etc/cron.monthly
, and /etc/cron.weekly
.