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!
[SOLVED] Issue Scheduling FreeFileSync Using Cron/Zeit
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
- Level 3
- Posts: 125
- Joined: Thu Oct 28, 2021 8:27 pm
- Location: Hot Springs, Arkansas
- Contact:
[SOLVED] Issue Scheduling FreeFileSync Using Cron/Zeit
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Nathan Parker
Re: Issue Scheduling FreeFileSync Using Cron/Zeit
Hi. We can't see all of your first command.
Your 2nd command should probably look like this:
Try that in your terminal first.
Your 2nd command should probably look like this:
Code: Select all
/opt/FreeFileSync/FreeFileSync /home/parkernathan/FreeFileSync/WebMate.ffs_batch
Re: Issue Scheduling FreeFileSync Using Cron/Zeit
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
The format as shown by mikeflan will work fine in a Terminal though..
Code: Select all
env DISPLAY=:0.0
The format as shown by mikeflan will work fine in a Terminal though..
-
- Level 3
- Posts: 125
- Joined: Thu Oct 28, 2021 8:27 pm
- Location: Hot Springs, Arkansas
- Contact:
Re: Issue Scheduling FreeFileSync Using Cron/Zeit
Thanks! Giving these a try and will report back how it goes.
Nathan Parker
-
- Level 3
- Posts: 125
- Joined: Thu Oct 28, 2021 8:27 pm
- Location: Hot Springs, Arkansas
- Contact:
Re: Issue Scheduling FreeFileSync Using Cron/Zeit
Got it going. This command worked:
Then I just set the schedule for 6PM local time.
Code: Select all
DISPLAY=:0 /opt/FreeFileSync/FreeFileSync /home/parkernathan/FreeFileSync/WebMate.ffs_batch 1>/dev/null 2>&1
Nathan Parker