Run on cronjob

Get help for specific problems
Posts: 3
Joined: 27 Dec 2023

MarcoCruz

Hi,

I have install FreeFileSync_13.2 on RHEL 8.9.

Can you help on set it to run on crontab/cronjob every 10 minuts.

I have tried like this, but it do not work:
*/10 * * * * user /opt/FreeFileSync/FreeFileSync /home/pacs/SyncSettings.ffs_batch

All the paths are ok.

If I run it on cmd like this "/opt/FreeFileSync/FreeFileSync /home/pacs/SyncSettings.ffs_batch" it works.

Can you help.

Thanks.
User avatar
Posts: 2287
Joined: 22 Aug 2012

Plerry

Have you tried to follow the manual?
Posts: 3
Joined: 27 Dec 2023

MarcoCruz

Hi,

Yes I have fallow the manual but for RHEL 8 it do not have gnome-scheduled.
Posts: 3
Joined: 27 Dec 2023

MarcoCruz

The command : "/opt/FreeFileSync /path-to-config_file/config_file.ffs_batch" doesn't works on crontab, while it works when launched from terminal window.

It is very strange
Posts: 306
Joined: 7 Jan 2018

bgstack15

You are probably missing the DISPLAY environment variable. See my old post.