• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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