FreeFileSync with Cron + Wayland

Get help for specific problems
Posts: 3
Joined: 7 Oct 2020

cometchaserde

Hi,

I run a FreeFileSync-Batchjob with cron and the following command

/opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch --display=:0.0

on Debian Bookworm with Gnome and X.org.

After switching to Wayland, the Batchjob doesn't work anymore.
The job gets executed by cron but nothing happens. No log file from FreeFilesync gets generated.
Wenn I run the command from a shell
eg. /opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch --display=:0.0
it works.

Changing the cron command to
/opt/FreeFileSync/FreeFileSync /home/stefan/FreeFileSync/BatchRun-Downloads.ffs_batch
doesn't work.

Switching back to X.org it works.

Any ideas ?

Thank you,
Stefan