I am trying to set up the automatic launch of backups on my PC using cron on Fedora 39 with FreeFileSync installed via Flathub.
#crontab -e
DISPLAY=:0
35 07 * * * /usr/bin/flatpak run org.freefilesync.FreeFileSync /home/xxx/Documents/backup-xxx.ffs_batch
mai 23 07:35:01 aaa CROND[6491]: (xxx) CMDOUT (Authorization required, but no authorization protocol specified)
mai 23 07:35:01 aaa CROND[6491]: (xxx) CMDOUT ()
mai 23 07:35:01 aaa CROND[6491]: (xxx) CMDOUT (07:35:01: Error: Unable to initialize GTK+, is DISPLAY set properly?)
mai 23 07:35:01 aaa CROND[6491]: (xxx) CMDEND (/usr/bin/flatpak run org.freefilesync.FreeFileSync /home/xxx/Documents/backup-xxx.ffs_batch)
Do you have any suggestions?
Thanks in advance.