As you can see in the screenshot, everything should be fine and executing the task seems successfully completed. The php-script contains one line of code:
file_put_contents('./test.txt', date("d.m.Y H:i:s"), FILE_APPEND);
So it writes the current date and time to the file, cool. If i open that file directly in my browser (
http://example.com/test.php) it works (
test.txt is writeable with 777)
But it doesn't work automatically (every minute) and also fails when trying to hit the "Execute now"-button in Plesk (see screenshot, bottom left button). Obviously I see a success-message, but nothing happened (
test.txt does not contain new content and time of last modification does not change).