Task marked fail but command success, im setting up to hourly download image for background override, the curl command is succes file downloaded correctly but yacron mark it as fail. Should i encapsulate with bash -c 'curl -L https://picsum.photos/3840/2160.jpg -o /var/www/html/public/img/bg1.jpg ?
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Starting job background-update
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Job background-update spawned
heimdall_web.1.h28pgdlkajyr@homelab | [background-update stderr] % Total % Received % Xferd Average Speed Time Time Time Current
heimdall_web.1.h28pgdlkajyr@homelab | [background-update stderr] Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 607k 0 607k 0 0 186k 0 --:--:-- 0:00:03 --:--:-- 344k
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Job background-update exit code 0; has stdout: false, has stderr: true; fail_reason: 'failsWhen=producesStderr and stderr is not empty'
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Job background-update STDERR:
heimdall_web.1.h28pgdlkajyr@homelab | % Total % Received % Xferd Average Speed Time Time Time Current
heimdall_web.1.h28pgdlkajyr@homelab | Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 607k 0 607k 0 0 186k 0 --:--:-- 0:00:03 --:--:-- 344k
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Cron job background-update: reporting failure
heimdall_web.1.h28pgdlkajyr@homelab | INFO:yacron:Cron job background-update: reporting permanent failure
Description
Task marked fail but command success, im setting up to hourly download image for background override, the curl command is succes
file downloaded correctly
but yacron mark it as fail. Should i encapsulate withbash -c 'curl -L https://picsum.photos/3840/2160.jpg -o /var/www/html/public/img/bg1.jpg
?jobs definintion