tedvdb, 10 months ago That’s probably the issue, crontab has another workdir, so calling the script with a relative path won’t work. Just use the full path to the script, something like /home/username/folder/directory/backup.sh and it’ll probably just work.
That’s probably the issue, crontab has another workdir, so calling the script with a relative path won’t work.
Just use the full path to the script, something like /home/username/folder/directory/backup.sh and it’ll probably just work.
/home/username/folder/directory/backup.sh