I have a workaround to eliminate the use of gnome-schedule (GS) and the "X application" option to create a task schedule.
It requires using a script rather than directly scheduling the FFS batch. I've been testing this for 7+ days at this time and it appears to work with NO side effects - the batch runs, files are sync'd, logs are generated as expected.
The first script ffs_sync.sh code snippet:
... statements
# run the back-up
export DISPLAY=:0
/path/to/FreeFileSync/FreeFileSync '/path/to/FreeFileSync/cf.ffs_batch'
... statements
statement.export DISPLAY=:0
I tried using gnome-terminal :
... statements
# run the back-up
export DISPLAY=:0
gnome-terminal -x /path/to/FreeFileSync/FreeFileSync '/path/to/FreeFileSync/cf.ffs_batch'
...statements
The crontab job is simple - run ffs_sync.sh (use first code snippet example) everyday at 3:15 AM:
15 3 * * * /path/to/FreeFileSync/ffs_sync.sh
15 3 * * * /path/to/FreeFileSync/ffs_sync.sh >> /path/to/mylogs/ff_sync.log 2>&1
This works on Devuan and Linux Mint 19 32/64 bit systems.