Fabhino22Elz
Basic Pleskian
- Server operating system version
- Plesk Obsidian Version - CentOS Linux 7.9.2009 (Core)
- Plesk version and microupdate number
- 18.0.57
Hey,
I am running a server, where I created a PHP script with some commands to import in stock data for my store. If I run the file directly via console, it works all fine.
If I put it in the planned tasks section it is not working anymore as not all commands are run... (I guess, because of the path from where it is started?
So I created a .sh file directly beside the .php. If I do so in terminal - again, everything works. If I now add the file to the scheduled task, it is also not working as not all commands are run...
I guess you all see the time... I am highly frustrated, as this is the last small step to automate my stock managing. Hope someone here can help me.
Greetings
I am running a server, where I created a PHP script with some commands to import in stock data for my store. If I run the file directly via console, it works all fine.
If I put it in the planned tasks section it is not working anymore as not all commands are run... (I guess, because of the path from where it is started?
So I created a .sh file directly beside the .php. If I do so in terminal - again, everything works. If I now add the file to the scheduled task, it is also not working as not all commands are run...
I guess you all see the time... I am highly frustrated, as this is the last small step to automate my stock managing. Hope someone here can help me.
Greetings