minus-squaretuxiqae@lemmy.dbzer0.comtoSelfhosted@lemmy.world•Postgres backup script not working when executed by a cronjoblinkfedilinkEnglisharrow-up3·edit-29 hours agoAdd set -x and dump the output (both stdout, stderr) into a logfile Usually issues with crontab are related to variables ( PATH) as well, so you might want to consider verifying that. linkfedilink
Add
set -x
and dump the output (bothstdout
,stderr
) into a logfileUsually issues with crontab are related to variables ( PATH) as well, so you might want to consider verifying that.