Difference between revisions of "Set up CRON-task"

From BrainyCP
Jump to: navigation, search
Line 1: Line 1:
 
+
<div data-placeholder="Перевод" dir="ltr" id="tw-target-text">To set up a CRON job in the BrainyCP hosting control panel, go to the Utilities / CRON jobs section:<br/> &nbsp;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">If necessary, enter the email address in the "Email (for sending notifications)" field, to which messages about the completion of the task will be received. click on the "Save email" button.<br/> &nbsp;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">Be sure to set the time and frequency of the task, enter the task in the "Command" field. click on the "Add command" button.<br/> &nbsp;</div> <div data-placeholder="Перевод" dir="ltr" id="tw-target-text">'''Note:''' if you select * in the drop-down list, the CRON task will be executed every minute, hour, day, etc.</div> <div data-placeholder="Перевод" dir="ltr">After the command is added, it will appear in the list of tasks:<br/> &nbsp;</div> <div data-placeholder="Перевод" dir="ltr">1. Click on the "Run" button to start the task.<br/> 2. Click on the "Edit" button to make adjustments to the job settings.<br/> 3. Click on the "Delete" button to remove a command from the list of tasks.<br/> 4. Use the switch to enable / disable the command:</div>
Чтобы настроить крон задание в панели управления хостингом BrainyCP, перейдите в раздел "Утилиты"/"CRON задания":
+
[[File:2020-12-23 11-06-36.png|border|2020-12-23 11-06-36.png]]
 
 
При необходимости укажите электронный адрес в поле "Email (для отправки уведомлений)", на который будут приходить сообщения о выполнении задания. нажмите на кнопку "Сохранить email".
 
 
 
Обязательно установите время и периодичность выполнения задания, впишите задание в поле "Команда". нажмите на кнопку "Добавить команду".
 
 
 
'''''Примечание: '''при выборе * в выпадающем списке CRON-задание будет выполняться каждую минуту, час, день и т.д.''
 
 
 
После того, как команда будет добавлена, она отобразится в списке заданий:
 
 
 
#Нажмите на кнопку "Выполнить", чтобы запустить задание.  
 
#Нажмите на кнопку "Редактировать", чтобы внести корректировки в настройки задания.  
 
#Нажмите на кнопку "Удалить", чтобы удалить команду из списка заданий.  
 
#Используйте переключатель, чтобы активировать/деактивировать команду:  
 
 
 
[[File:2020-12-23 11-06-36.png|border]]
 

Revision as of 22:34, 2 April 2021

To set up a CRON job in the BrainyCP hosting control panel, go to the Utilities / CRON jobs section:
 
If necessary, enter the email address in the "Email (for sending notifications)" field, to which messages about the completion of the task will be received. click on the "Save email" button.
 
Be sure to set the time and frequency of the task, enter the task in the "Command" field. click on the "Add command" button.
 
Note: if you select * in the drop-down list, the CRON task will be executed every minute, hour, day, etc.
After the command is added, it will appear in the list of tasks:
 
1. Click on the "Run" button to start the task.
2. Click on the "Edit" button to make adjustments to the job settings.
3. Click on the "Delete" button to remove a command from the list of tasks.
4. Use the switch to enable / disable the command:

2020-12-23 11-06-36.png