PB display log in batch mode

Get help for specific problems
Posts: 24
Joined: 17 Dec 2022

vika51

Hello,
The pointer to the log of a command line batch process is not systematically updated in the main menu of ffs. This is indeed generated in the logs directory by the batch but when you display the main menu of ffs, the green tick points to an old log of the command.
On the other hand, if I execute the command directly from the main menu of ffs, the log pointed to by the green tick is that of the execution and it is OK.
Best regards
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

It is working fine for me. FFS 11.29, Windows 11
FFS must be closed when the sync is ran though, otherwise it will not update
Posts: 24
Joined: 17 Dec 2022

vika51

Thank you for your reply.
Although FFS is closed, the update of the "Last synchro" field is not systematic next to the "Name". The time is not updated and remains positioned on a previous execution.
On the other hand, the .log files of all executions are indeed generated in the logs directory.
Environment: PC x64 windows 10 latest release, FFS 11.29
Command executed in CMD batch, RealTimeSynch with a xxx.ffs_real, synchronization in both directions
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

RTS and FFS are two entirely different programs. Invoking a RTS setup is not the same as invoking a FFS setup
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

I can confirm that behavior. A sync triggered by RTS does not update the shortcut in FFS to the latest log of that config.
Posts: 24
Joined: 17 Dec 2022

vika51

Perfect. Thank you for your answers. I understand the difference between FFS and RTS.
But I just relaunched the . bat of orders and there, every hour is updated in the menu FFS... This morning, the first batch . ffs_batch did not update the date in FFS. It is a . ffs_batch executed in Windows command by FreeFileSync.exe, in "Two Way" mode and which executes "At the end" another command ffs.batch...
There must be a contextual or random element that prevents FFS update.
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

I can confirm that behavior. A sync triggered by RTS does not update the shortcut in FFS to the latest log of that config. xCSxXenon, 15 Jan 2023, 21:51
This should work in general, except for this yet unsolved issue:
viewtopic.php?t=9278
Posts: 24
Joined: 17 Dec 2022

vika51

Thank you for your reply. Indeed, I am in the same case as the viewtopic.php?t=9278.
Some simultaneously monitored directories are stored on a NAS (Synology) and two different computers under Windows 10... Complicated to manage programmatically... ;-))
PS.: The FFS and RTS solution is super powerful and easy to implement!!! Well done and thank you!
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

I can confirm that behavior. A sync triggered by RTS does not update the shortcut in FFS to the latest log of that config. xCSxXenon, 15 Jan 2023, 21:51
This should work in general, except for this yet unsolved issue:
viewtopic.php?t=9278 Zenju, 16 Jan 2023, 12:17
And it worked fine today... RTS triggered a sync and the shortcut updated accordingly
Interesting
Posts: 24
Joined: 17 Dec 2022

vika51

Yes I agree with you but the update is random because for the same execution, once it is updated, another time not...
In fact, what interests me is the value of the stiker of the log: green = OK, otherwise, you have to look at what happened.
Posts: 24
Joined: 17 Dec 2022

vika51

Hello
I noticed each time that on the computer which is powerful (Bi-pro xeon, 16 GB RAM, windows 10 pro x64), all the RTS and FFS synchronization times are updated when you open the application FFS.
The other computers are older and the CPU is at 100% when the batches are triggered.
I think the problem is related to the lack of resources (CPU, disk and network access, RAM) of my other computers which are much less efficient...
It's just a clue... ;-))
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

Hello
I noticed each time that on the computer which is powerful (Bi-pro xeon, 16 GB RAM, windows 10 pro x64), all the RTS and FFS synchronization times are updated when you open the application FFS.
The other computers are older and the CPU is at 100% when the batches are triggered.
I think the problem is related to the lack of resources (CPU, disk and network access, RAM) of my other computers which are much less efficient...
It's just a clue... ;-)) vika51, 20 Jan 2023, 16:38
Not probable since I have had it work and not work on the same computers
Posts: 24
Joined: 17 Dec 2022

vika51

However, the update of hours in FFS is systematically 100% OK on my Dell computer (Dell T7400, Bi-xeon, SSD, etc...) while on my two SONY VGN laptops, the hours are very randomly entered ...
On the other hand, the startup .bat which executes, among other things, the RTS and FFS commands lasts a total of 15 seconds on the Dell and more than 2 minutes on the SONY... hence the suspicion of a resource problem for FFS and RTS programs while they are running.