On October 19, 2021, we have enabled single-sign-on for our Plesk Support Center to provide a seamless login/account experience. This implies that you’ll be able to use a single account across any of our web-facing properties.
If you had already registered your account at MyPlesk.com/Plesk360/Platform360 please use one for login. Otherwise please re-register it using the same email address as your existing Zendesk login (support account). It’s essential that you use the same email address on our support center to ensure that your tickets stay attached to the same account.

How to schedule a task in Plesk for Linux?

Follow

Comments

2 comments

  • Avatar
    Mario

    Hi, I need to run this cron task: php -q /var/www/vhosts/domain/httpdocs/folder/cron.php >/dev/null 2>&1

    These are the literal instructions from the service provider:

     

    How do I enter this, as "Run as command" results in error:

     

    Also, what's the best user to select for the job?:

    Thanks!

    0
    Comment actions Permalink
  • Avatar
    Daria Gavrilova

    Hello @Mario,

    Thank you for your question.

    As I can see the issue was resolved in the scope of the ticket and it was suggested to run the script with any installed Plesk PHP:

    /opt/plesk/php/7.1/bin/php -q /var/www/vhosts/example.com/httpdocs/test_directory/cron.php 2>&1
    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request