To create a cron task, you need to log in to your admin panel using your login credentials.
- Select "cron".
- To add a new task, click "Add Cron Job".
- Enter the cron command in the designated field.
- Specify the frequency of repetition for the task.
- Click "Save".
Upon entering the cron tasks, you will see the default tasks. These tasks are necessary for the normal operation of the system.
Here is a description of each task:
- sudo /usr/local/vesta/bin/v-update-sys-queue letsencrypt -> Checks the validity of current Let's Encrypt SSL certificates.
- sudo /usr/local/vesta/bin/v-update-sys-vesta-all -> Checks for system updates.
- sudo /usr/local/vesta/bin/v-update-sys-rrd -> Updates statistics at https://IP:8083/list/rrd/.
- sudo /usr/local/vesta/bin/v-update-sys-queue backup -> Clears the backup queue.
- sudo /usr/local/vesta/bin/v-update-sys-queue traffic -> Updates network traffic usage information.
- sudo /usr/local/vesta/bin/v-update-sys-queue disk -> Updates disk usage information.
- sudo /usr/local/vesta/bin/v-update-sys-queue webstats -> Updates information for each domain.
- sudo /usr/local/vesta/bin/v-backup-users -> Creates backups of users.
- sudo /usr/local/vesta/bin/v-update-user-stats -> Updates general statistics at https://IP:8083/list/user/.