I am not a newbie with programming or IT in general but I am at a loss as to
how to setup RTS monitoring from the help file and guidance provided on this
site. What I want to do is monitor a folder tree with RTS and write to a log
file the date, time and username (and potentially other details that may be
available) when someone modifies, overwrites or deletes a file. Sorry, but I
just see how to do it or find any relevant sample files on this site.
Thanks in anticipation.
RTS programming
- Posts: 7
- Joined: 9 Oct 2012
- Site Admin
- Posts: 7210
- Joined: 9 Dec 2007
RTS is a quite simple tool: it monitors a list of directiories (including sub-
directories) for changes, then waits until a time-window of "delay" amount of
seconds occurs with no changes, then executes the commandline. The only
additional information one can extract is the name of the file that triggered
the change: %changed_file%
This is also essentially the only information that is technically available.
directories) for changes, then waits until a time-window of "delay" amount of
seconds occurs with no changes, then executes the commandline. The only
additional information one can extract is the name of the file that triggered
the change: %changed_file%
This is also essentially the only information that is technically available.
- Posts: 7
- Joined: 9 Oct 2012
OK. Thanks for that. I have also realised that I didn't express my question
very well. What I want to do is to have it do the monitoring that it does but
NOT synchronise files. So, if someone modifies a file on the left side I just
want to have a record of this without the amended file automatically
overwriting the file on the right side. Have tried playing with the batch file
generator and in the XML file but can't get it to work. Would be grateful for
a solution if this is possible.
very well. What I want to do is to have it do the monitoring that it does but
NOT synchronise files. So, if someone modifies a file on the left side I just
want to have a record of this without the amended file automatically
overwriting the file on the right side. Have tried playing with the batch file
generator and in the XML file but can't get it to work. Would be grateful for
a solution if this is possible.
- Site Admin
- Posts: 7210
- Joined: 9 Dec 2007
You could just take the example form the help file to get the list of changed
files:
command line:
cmd /c echo "%changed_file%" >> c:\log.txt
files:
command line:
cmd /c echo "%changed_file%" >> c:\log.txt
- Posts: 7
- Joined: 9 Oct 2012
Whoa. Just realised that I have been on an older version. I can see that there
is now a lot of guidance in the help file so I will go and study that. Thanks
again.
is now a lot of guidance in the help file so I will go and study that. Thanks
again.