There is a script scheduled in crontab.
But
0 2 * * * /usr/local/bin/backup.sh >> /root/output_all.txt
I want to save the output into multiple files like output_all.txt and output_date.txt at the same time.
I know there is
command to save the output to the multiple files.But
can be used only when tty exists?
Is there any other solution?
Asked by Hardguy
(59 rep)
May 29, 2023, 10:12 PM
Last activity: Apr 15, 2025, 01:09 PM
Last activity: Apr 15, 2025, 01:09 PM