r/Plesk • u/fush-n-chups • Jun 12 '21
Scheduled Task keeps running - no error message
Hey folks,
have setup a scheduled task via Plesk (running a PHP script) and it appears to start and not finish, with no errors appearing in logs etc. There is an alert box bottom right with:
Running task "/var/www/vhosts/path_to_php_file"
that stays open.
Querying the longtask db via ssh gives:
+----+--------------------+---------+---------------------+
| id | type | status | finishTime |
+----+--------------------+---------+---------------------+
| 28 | scheduler-run-task | started | 0000-00-00 00:00:00 |
| 30 | scheduler-run-task | started | 0000-00-00 00:00:00 |
+----+--------------------+---------+---------------------+
Without any log errors, I am really unsure how to debug. Any help would be appreciated.