- Server operating system version
- Windows Server 2022 Standard (Build 20348)
- Plesk version and microupdate number
- Plesk Obsidian 18.0.67 and MU #3
Hello everyone,
I am currently using Plesk Obsidian on a Windows Server and I am facing an issue with scheduled tasks. I have created a scheduled task from the Plesk panel to run a PHP script periodically, and the task appears to be triggered successfully, but the expected action from the script does not happen consistently.
The strange part is that when I manually run the same script from the command line on the server, it works without any issues. However, when Plesk Task Scheduler runs it automatically, sometimes it completes without errors but the script does not update the database, create the required files, or perform the expected operations.
I have already checked the PHP path, user permissions, and script location. The scheduled task is configured with the correct executable, but I am wondering if there are any additional Windows-specific settings required in Plesk Obsidian, such as permission restrictions, PHP handler configuration, or service-related limitations.
Has anyone experienced similar behaviour with scheduled tasks in Plesk Obsidian for Windows? Are there any logs or specific troubleshooting steps I should check to understand why the task runs differently compared to manual execution?
Any guidance would be appreciated.
I am currently using Plesk Obsidian on a Windows Server and I am facing an issue with scheduled tasks. I have created a scheduled task from the Plesk panel to run a PHP script periodically, and the task appears to be triggered successfully, but the expected action from the script does not happen consistently.
The strange part is that when I manually run the same script from the command line on the server, it works without any issues. However, when Plesk Task Scheduler runs it automatically, sometimes it completes without errors but the script does not update the database, create the required files, or perform the expected operations.
I have already checked the PHP path, user permissions, and script location. The scheduled task is configured with the correct executable, but I am wondering if there are any additional Windows-specific settings required in Plesk Obsidian, such as permission restrictions, PHP handler configuration, or service-related limitations.
Has anyone experienced similar behaviour with scheduled tasks in Plesk Obsidian for Windows? Are there any logs or specific troubleshooting steps I should check to understand why the task runs differently compared to manual execution?
Any guidance would be appreciated.