Cron jobs and small scripts love to write their output nowhere, or to a log file you forget about. On a systemd machine you can put it in the journal instead, next to everything else.
systemd-cat -t backup /usr/local/bin/backup.sh
That runs the script and sends both its stdout and stderr to the journal. -t sets the identifier, the short name the log lines are filed under. Without it you get the name of the program, or cat when you pipe into it.
Piping works too, with a priority:
echo "disk almost full" | systemd-cat -t diskcheck -p warning
-p takes a level such as warning, or a number from 0 to 7. The default is info. Afterwards, journalctl -t backup shows only that script’s lines, with timestamps, and they rotate with the rest of the journal.
The man page prefers running the command through systemd-cat, like the first example, over piping into it. Running it that way catches stderr as well, and stderr is where most errors go.
Caveat: this is for scripts that run now and then. A long-running service should be a proper systemd unit, which sends its output to the journal on its own. And remember that a -p level applies to every line of the run, so an “info” run can still contain an error you only find by reading it.
Further reading: systemd-cat manual, On this site: journalctl -t filters the journal by identifier