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

Creating a Cron Job

A

AvidCat

Guest
I need to setup a cron job for a script I am running. I understand the basics to setup hour minute etc. But for the command line the script said I should type :/usr/local/bin/php -q /var/www/vhosts/mysite.com/httpdocs/Affiliate-Program/scripts/jobs.php

But when I do that I get the following emailed error report:

/bin/sh: /usr/local/bin/php: No such file or directory

For the command line in plesk what can I put?

Thanks for any help.
 
Run 'which php' to find the location of your php binary. It's probably /usr/bin/php, not /usr/local/bin/php.
 
Thanks, actually I was searching around online last night and saw that someone posted what you just said. I logged into my ssh and ran that and found that I needed to use /usr/bin/php.
 
Back
Top