I run some cron jobs on my Pi. I want to find a way to export all from a command to a file ie:
logwatch --yesterday --medium --archive > 'name_of_my_file'
where 'name_of_my_file'
will be as a format EU dd-mm-yyy hh:mm
if you could share as well any ideas how to upload those files to external ftp server it will be great!