One of our customers asked me to create a log for him from the script that contains the following data in a text file:
1) Date and time
2) Identity card
3) What is the code we received from the DB
4) The HUNT number that is transferred
Is there a way for me to create a simple text file with the following data from the script and save it in some folder?