How to run FreeFileSync from Linux cron job?

Get help for specific problems
Posts: 1
Joined: 8 May 2002

ahagge

As I'm sure you're aware, the Linux-standard way to run periodic jobs (such
as backups) is via a cron job. However, this requires that the program be
able to be run with no user logged in (and in the case of servers, with no
X-windows installed at all, as most servers don't run with X). Currently,
as far as I can tell, FreeFileSync can't run without a user logged in and
X-windows - with GTK - running (ie. DISPLAY must be set to an available
X-Window display or an error "Error: Unable to initialize gtk, is DISPLAY
set properly?"). Am I missing the magic incantation to allow it to run
without a display? If not, would it be possible to modify the program to
run without a display?