Two things: exit command and ovewriting of the log file
good morning, I need some help on these, the first problem is that the Exit command isn't closing the prompt when the script has finished the job, the cause is that it doesn't run again at the scheduled next time, the prompt stood there just open, the script goes like this
and the second is that the log file has just increased almost a 1 gb file size, how can I do to create a diferent log file every time the script activates and not overwrite the same log every time.
THANKS
_________________
leo
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# option transfer binary
cd c:\Program Files
cd WinSCP
@echo off
winSCP.com /command ^
"option batch abort" ^
"open ftp://ftpmetropolitano:ftpmetro@192.168.xxx.x1/ " ^
"synchronize local -delete -filemask=|*.rar C:\Sabic\JOURNAL /Journals/TRASVAL/ " ^
"/log=C:\logsdelScript2.log" /loglevel=1" ^
"exit"
and the second is that the log file has just increased almost a 1 gb file size, how can I do to create a diferent log file every time the script activates and not overwrite the same log every time.
THANKS
_________________
leo