- Every day I run the script in which I run the rsync script several times.
- The output from rsync goes to the log in /var/log/cron
How to add in the script (which is automatically run), so that in addition to the result from rsync, there is additional information about which rsync is first, second, etc. e.g.
- rsync1
- the result (this is already there)
- rsync2
- the result (this is already there)
etc.
here is reference may you can be helped https://askubuntu.com/questions/923260/cron-run-a-script-after-the-other