This article covers steps to add cron jobs in VestaCP. Using VestaCP, you can add mail accounts, databases, Cron jobs, and a whole lot more with just a few clicks. Cron jobs help automize certain commands that need to run regularly, this ensures everything runs smoothly.
Vesta Control Panel (VestaCP) is an open source hosting control panel that can manage multiple websites, create and manage email accounts, create and manage FTP accounts. Also, manage MySQL database and DNS records.
How to setup a CRON job using VestaCP ?
1. Move to the “CRON” tab then mouse over the plus symbol and click on “Add Cron Job”;
2. Enter the command you would like to execute and make sure to include the necessary privileges such as sudo if your command requires it. Use the frequency generator on the right side of the options to set how often you would like the command to execute.
3. Finally, click Generate to confirm the frequency and then click Add to finish adding the Cron job.
Note: Before adding a cron job be sure to test it out first to ensure it works.