Scheduling Tasks with Crontab

With the Plesk task scheduler, you can set any scripts your website needs to run automatically at the right time.
Open "Websites & Domains" -> "Scheduled Tasks" to see the list of scheduled tasks.

Each task can be enabled or disabled manually by clicking the corresponding icons (green and grey, respectively).
To schedule a task, open Websites & Domains > Scheduled Tasks > Add Task.

Then decide what the task should do and choose its type:
Run a command (specify the full path to the file to run). These include batch files and shell scripts.
Fetch a URL (enter only the URL; there is no need to write a command such as "wget" or "curl").
Run a PHP script (specify the path to the script relative to the virtual host folder).
Now choose how often the task should run. It will be triggered at the time and date you specify. By default, the server's time zone is used, but you can change it if necessary. To choose a different time zone, open "Websites & Domains", go to "Scheduled Tasks" and click "Settings". Other settings are also available in this window: for example, you can enable notifications and enter a description of the scheduled task.
At the end, a very important option is available: running the scheduled task in test mode. This lets you check that the settings are correct before the task runs for real. To start the test, click "Run Now" and wait for the process to finish. If you made a mistake, you will see it right away.
Today, websites are the main driver of any business. That is why it is so important for your website to be high-quality and reliable. UkrHost provides not only hosting but also its administration. A convenient hosting control panel lets even a person without special knowledge or skills easily manage all processes. And if you have a problem you can't solve yourself, technical support is ready to help you at any time of day. We ensure uninterrupted operation of your website!