I have a website where I need to save and load some local data, which is done by php scripts. I noticed the following:
When I manually run my php scripts, e.g. by typing their file name in a web browser, files are read and written to the httpdocs folder
When the scripts are called via a scheduled task, files are read and written to the home folder.
I both use scheduled tasks and manual script runs. Does anyone know a practical way how to deal with this?