I wrote a script in php that references another file in another folder. In order to access the file, I am referencing it as "../file.txt". When I manually execute the script myself, everything works. However when the cronjob executes, I receiver an error:
Warning: main(../file.txt): failed to open stream: No such file or directory in /home/.loadie/xyz/xyz.com/files/script.php on line 3
In my cronjob, I am executing this line while using the web panel tool:
Any help would be appreciated.