How to create cron jobs in VestaCP

To create a new job, go to the CRON section of the VestaCP panel and click on the green plus button.

how-to-create-cron-jobs-in-vestacp

In the window that opens, specify the job parameters and the frequency of its execution.

how-to-create-cron-jobs-in-vestacp1

To create a schedule, you can enter parameter values ​​manually, or generate them using the panel. Manual entry uses the following format:

* - completing of the job every minute,

 * / n - completing of the job every n minutes (n from 0 to 59),

n - completing of the job with the beginning of the n-th minute,

a, b, c - completing of the job with the beginning of the specified minutes.

By analogy, you can configure a schedule for other time parameters - hours (from 0 to 23), days (from 0 to 31) and months (from 0 to 12). When specifying the day of the week, the following format is used: 0 - Sunday, 6 - Saturday.

To execute a php script, specify php as a job, and then the path to the interpreter.

If you have any questions, please create a ticket to technical support.