Skip to main content

All Questions

Tagged with
2 votes
1 answer
238 views

Why doesn't this script succeed from crontab as it does when manually run?

This script works when executed with doas ./backup_cron_root.sh #!/usr/bin/bash /usr/bin/crontab -l> "/tmp/cron.$(whoami).$(hostname)" && /bin/date>>"/tmp/cron.$(...
John Smith's user avatar