• 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.

Plesk Panel 11.5.30 Cron problem

JuricaK

New Pleskian
Hello,
I need a command for cron job that runs the php file with the argument.
For example (php -q httpdocs/cron.php quick) where "quick" argument.

On webmin panel command (php -q /home /user/public_html/cron.php quick) works great.

Until now I always got an error
-> httpdocs/cron.php: line 1: ?Php: No such file or directory

Please help
thanks
 
Hi,

could you please check the first line of cron.php?
It probably starts with ?Php but it should start with <?php

Regards,
Kristian
 
Hi,

could you please check the first line of cron.php?
It probably starts with ?Php but it should start with <?php

Regards,
Kristian


Hi Kristian,

my cron.php looks like:

<?php
require_once('config.php');
#################
#################
#################
?>

Tnx for your reply.
 
Last edited:
Hi,

same for config.php? :)

As long as this command does not run by shell, you won't be able to setup a working cron.
As we do not know what you have setup or if you have modified some files with some windows Editor or similar,
it's hard to tell. The issue is not Plesk related.

Regards,
Kristian
 
Back
Top