Hi, I went back to this topic after long time
I configured a scheduled job in OMV gui:
When I run it I have this message in the modal windows:
source: not found
If I cat autogemerated job file
cat /var/lib/openmediavault/cron.d/userdefined-fe8457ff-1a95-4f9f-a331-e74b25603a0a
#!/bin/sh -l
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
/home/pi/raspberry-mcg/script/backup/gphotos-sync/gphotos-sync.sh
and if I cat my sh file
cat /home/pi/raspberry-mcg/script/backup/gphotos-sync/gphotos-sync.sh
#!/usr/bin/env bash
cd /home/pi/gphotos-sync;
#--new-token
/home/pi/.local/bin/pipenv run ./gphotos-sync --flush-index --do-delete --album-date-by-first-photo --logfile /var/log/gphotos-sync.log --use-flat-path --secret /home/pi/gphotos-sync/client_secret.json /home/pi/local_drive/Foto_Video/Foto/GooglePhotos
Why I have "source: not found" message in the modal from OMV gui?