minus-squaretuxiqae@lemmy.dbzer0.comtoSelfhosted@lemmy.world•Postgres backup script not working when executed by a cronjoblinkfedilinkEnglisharrow-up2·edit-22 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
minus-squaretuxiqae@lemmy.dbzer0.comtolinuxmemes@lemmy.world•Ubuntu? Yeah, they used to tour with Journey all the time.linkfedilinkEnglisharrow-up57·4 days agoNever understood why people use the punchline as the title 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.