[SOLVED] Issue Scheduling FreeFileSync Using Cron/Zeit

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
parkernathan
Level 3
Level 3
Posts: 125
Joined: Thu Oct 28, 2021 8:27 pm
Location: Hot Springs, Arkansas
Contact:

[SOLVED] Issue Scheduling FreeFileSync Using Cron/Zeit

Post by parkernathan »

I'm trying to schedule FreeFileSync to run at 6PM each night using Cron, using Zeit as the frontend. I've setup my cron job as follows (see attached image). However, the task is not running at 6PM.

I'm on Linux Mint Uma Cinnamon.

Do I need to edit my Cron script to successfully run the task?

Thanks!
Attachments
2021-12-06_20-34.png
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Nathan Parker
mikeflan
Level 17
Level 17
Posts: 7084
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: Issue Scheduling FreeFileSync Using Cron/Zeit

Post by mikeflan »

Hi. We can't see all of your first command.
Your 2nd command should probably look like this:

Code: Select all

/opt/FreeFileSync/FreeFileSync /home/parkernathan/FreeFileSync/WebMate.ffs_batch
Try that in your terminal first.
RIH
Level 9
Level 9
Posts: 2857
Joined: Sat Aug 22, 2015 3:47 am

Re: Issue Scheduling FreeFileSync Using Cron/Zeit

Post by RIH »

mikeflan is correct with the format of the task. However, for it to work as a timed cron job you need to precede that format with

Code: Select all

env DISPLAY=:0.0 

The format as shown by mikeflan will work fine in a Terminal though..
Image
parkernathan
Level 3
Level 3
Posts: 125
Joined: Thu Oct 28, 2021 8:27 pm
Location: Hot Springs, Arkansas
Contact:

Re: Issue Scheduling FreeFileSync Using Cron/Zeit

Post by parkernathan »

Thanks! Giving these a try and will report back how it goes.
Nathan Parker
parkernathan
Level 3
Level 3
Posts: 125
Joined: Thu Oct 28, 2021 8:27 pm
Location: Hot Springs, Arkansas
Contact:

Re: Issue Scheduling FreeFileSync Using Cron/Zeit

Post by parkernathan »

Got it going. This command worked:

Code: Select all

DISPLAY=:0 /opt/FreeFileSync/FreeFileSync /home/parkernathan/FreeFileSync/WebMate.ffs_batch 1>/dev/null 2>&1
Then I just set the schedule for 6PM local time.
Nathan Parker
Locked

Return to “Software & Applications”