We have a batch file which is calling php scipts. Php script load some data files to our system.
I cannot understand what is starting that batch file in the middle of the night. I cannot find any task job scheduled to run that batch file. There are other machines that have access to this shared storage location where batch file is located.
Is there any command that I can add to the batch script or PHP script which will print all process details when this batch file is called in the middle of the night? So, I can later read that log and understand how is this script called.