• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Cron Job can't "Run Now". Also Cron Job/Scheduled Tasks lacks documentation

MHC_1

Regular Pleskian
Server operating system version
Alma Linux 9.7
Plesk version and microupdate number
18.0.76
There is a cron PHP script that is intended to run and write results to an error log file.

The script appears to run but it never outputs to any error log file.

The script also does not appear to run from within Plesk as Administrator on either of the "Run Now" buttons.

How can these things be resolved?

ONE:

Example CRON code: This script appears to run but fails but does not output errors passed back from within the class to the exception, the error_log doesn't write to file. Why not?

Code:
ignore_user_abort(true);
$sdr = "/var/www/vhosts/server.co.uk/public_html";
$errorLog = "/var/www/vhosts/server.co.uk/error/cron_reports.txt";
require "class.database.php";

try {
    $dataBase = new Dbase($sdr.'/includes/classes/connection.dbxlink.php', true);
} catch (Exception $ex) {
    error_log("Exception caught on initialization of class on " . __FILE__ . " on line " . __LINE__ . " :: " . $ex->getMessage(), 3, $errorLog);
    exit;
}

TWO

PHP is PHP 8.3 FPM (default for this Plesk I think) . Website runs fine but the Cronjob does not.

Screenshot from 2026-03-12 09-54-51.png
The folder "cronz" is /var/www/vhosts/server.co.uk/cronz/

The folder "error" is at /var/www/vhosts/server.co.uk/error/ and works correctly for the website log files.

The error_log system works correctly on the website but doesn't appear to work for the Cronjob .

THREE

Running the cronjob through the Plesk Admin GUI gives no reply, no result, no response. Why not? This is recent since update to 18.0.75 .



Please advise or point me to clear and explicit documentation for Plesk Obsidian.

Thanks.
 
Hello!
Running the cronjob through the Plesk Admin GUI gives no reply, no result, no response. Why not? This is recent since update to 18.0.75 .
If you run a cron job via UI, you should see the results in the toaster. Also, the detailed information should be available in the logs, e.g
Code:
[2026-03-23 14:35:26.173] 184812:69c14fadeb078 ERR [panel][] Task failed: id=368, pid=184812, type=scheduler-run-task, clientRemoteAddr=100.96.2.2, output=
 
Back
Top