Hi,
I am running raspberry pi 4 using Openmediavault to backup my sd card and shrink the file via pishrink. So every Tuesday at 4am, I run the scheduled tasks command under root:
sudo dd if=/dev/mmcblk0 of=/sharedfolders/Appdata/sdbackup/backup.img bs=1M
This job runs without issues.
At Tuesday 5am, I ran a job to shrink this file
sudo pishrink.sh /sharedfolders/Appdata/sdbackup/backup.img
and it would not run.
When I ran the pishrink command manually in the scheduled tasks panel, it would run fine. Is there a reason why this is happening? Thanks.