• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Install the Cron Job :))

thaodep1001

New Pleskian
use Jomsocial and someone can tell me. Which one is support to install at my server plesk, i use ubuntu

lynx -source "Domain.com" > /dev/null
Lynx is a text-based browser that is installed in most hosting environments. If you do not have Lynx installed, you can use other alternatives such as wget, shown below:

wget -O /dev/null "Domain.com" > /dev/null
Don't worry, this operation actually runs very fast and has very little impact on the server, equivalent to a normal single page load.
 
Here are two types of cron tasks in Plesk:

  • Customer cron tasks. This type of tasks can be created by both Customers and Administrators. They are executed on behalf of a system user. Such tasks do not provide access the filesystem outside of the document root of the web site.
  • Administrator cron tasks. This type of tasks can be created by Administrators only. They are executed on behalf of the root user. Such tasks provide write access to the whole filesystem.
To schedule a Customer cron task:

  1. Go to Websites & Domains > example.com > Scheduled Tasks > Add Task.
  2. In the Command field put the full path to the script to be executed.
  3. In the Run field set the the task execution time (an example is available here).
  4. Click OK to save changes.
To schedule an Administrator cron task:

  1. Go to Tools & Settings > Scheduled Tasks > Add Task.
  2. In the Command field, put the full path to the script to be executed.
  3. In the Run field, set the the task execution time.
  4. In the System user field, leave user as root or choose another system user to run the task.
  5. Click OK to save changes.
Another option is editing cron task in shell:

  1. Allow the customer to login to server via SSH in Plesk > Subscription > Web Hosting Access > Access to the server over SSH
  2. Login to the server over SSH
  3. Run crontab -e in order to edit cron tasks.
 
Back
Top