Topic "Can I just generate a different log file instead of rewriting the same"

Author Message
leonardo07746
[View user's profile]

Joined: 2015-08-06
Posts: 8
Location: cuba
Since I've scheduled my script to run every 2 hours, I just need that every two hours, thi same script generates a filename.log but not writing the logs on the same filename.log but generating a filename1.log and in the next two hours e.g filename2.log, can Winscp achieve that by adding something else to these lines

"/log=C:\logsdelScript.log" /loglevel=1" ^



Thanks
_________________
leo
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You can use time patterns to make the log file name unique.
See http://winscp.net/eng/docs/ui_pref_logging
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License