Michael V. answered 06/24/19
Tutor
New to Wyzant
Experienced Tutor Skilled in Web Engineering and Related Subjects
Two ways:
You can literally put them right on top of the file, like:
SHELL=/bin/bash
0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
OR You can put them right before a command like:
0 5 * * 1 SHELL=/bin/bash tar -zcf /var/backups/home.tgz /home/
The latter will only apply to one particular command whereas the former will apply to all.