I have set up a batch job in the Configuration area, and today I noticed immediately after I had run the job (which I do manually), some files hadn't sync'd. I've not noticed any files being missed in previous syncs
However, the overlooked files are definitely in the job, as when I click 'Synchronize' in the RH list panel those files were then picked up.
Why might they not have been sync'd when I ran the batch job?
Some files in a batch run don't sync
- Posts: 8
- Joined: 25 Apr 2024
- Posts: 2438
- Joined: 22 Aug 2012
> Why might they not have been sync'd when I ran the batch job?
If your batch job is launched by the Task Scheduler, it is important that the user under which credentials you run the sync has read/write access to all locations involved in your sync.
When using the "Create Basic Task" Wizard of the Task Scheduler, such task will run with SYSTEM user credentials. The SYSTEM user may not have suitable read/write access; even more so if external or remote locations are involved in the sync.
See also here.
I would expect the log of your sync will report any trouble FFS experienced.
However, locating the log-file for tasks that have run under the SYSTEM user is challenging, unless you have changed its location via "Change log folder" (Synchronization Settings F8) whwre the SYSTEM user has write access and the logged-in user at least read access.
If your batch job is launched by the Task Scheduler, it is important that the user under which credentials you run the sync has read/write access to all locations involved in your sync.
When using the "Create Basic Task" Wizard of the Task Scheduler, such task will run with SYSTEM user credentials. The SYSTEM user may not have suitable read/write access; even more so if external or remote locations are involved in the sync.
See also here.
I would expect the log of your sync will report any trouble FFS experienced.
However, locating the log-file for tasks that have run under the SYSTEM user is challenging, unless you have changed its location via "Change log folder" (Synchronization Settings F8) whwre the SYSTEM user has write access and the logged-in user at least read access.
- Posts: 4034
- Joined: 11 Jun 2019
I don't think you wrote this accurately or as detailed as needed...I have set up a batch job in the Configuration area, and today I noticed immediately after I had run the job (which I do manually), some files hadn't sync'd. I've not noticed any files being missed in previous syncs
However, the overlooked files are definitely in the job, as when I click 'Synchronize' in the RH list panel those files were then picked up.
Why might they not have been sync'd when I ran the batch job? Newbietoo, 30 May 2024, 07:31
What does "set up a batch job in the Configuration area" mean?
Also, you said "after I had run the job (which I do manually), some files hadn't sync'd", but then you say "However, ...when I click 'Synchronize' in the RH list panel those files were then picked up". These both describe running it manually.
Please clarify these
- Posts: 8
- Joined: 25 Apr 2024
@xCSxXenon
The LH panel is labeled "configuration', I didn't know what else to call it (FFS Help doesn't label the various parts of the page) And in that panel, under the section called 'Name' I have a file, BatchRun (FFS' default name for it). When I run that, it doesn't sync all files in all the Folders displayed in the RH-side of the page. However. if hit the 'Synchronize' button it does sync all files in the folders.
@Plerry and @xCSxXenon
Now I've done some testing, it seems the batch job is just doing a comparison. I need to hit the Synchronize button to make it sync. How then do I save a batch job as sync?
The LH panel is labeled "configuration', I didn't know what else to call it (FFS Help doesn't label the various parts of the page) And in that panel, under the section called 'Name' I have a file, BatchRun (FFS' default name for it). When I run that, it doesn't sync all files in all the Folders displayed in the RH-side of the page. However. if hit the 'Synchronize' button it does sync all files in the folders.
@Plerry and @xCSxXenon
Now I've done some testing, it seems the batch job is just doing a comparison. I need to hit the Synchronize button to make it sync. How then do I save a batch job as sync?
- Posts: 4034
- Joined: 11 Jun 2019
When you save a .ffs_batch configuration, you can run it from the command line or double-click the file you created to run the sync to completion. When you are in the FFS GUI, clicking compare only compares and shows you the results to check. You can click the synchronize button and it will compare and sync automatically.
- Posts: 8
- Joined: 25 Apr 2024
Ahh, I see. Running the batch from within the app only does a compare, not a sync. Bit of a trap for your players!
Thank you for the clarification @xCSxXenon
Thank you for the clarification @xCSxXenon