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

Author Message
[View user's profile]

Joined: 2015-08-06
Posts: 9
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" ^

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26330
Location: Prague, Czechia
You can use time patterns to make the log file name unique.

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License