❤️ AZDIGI has officially updated to a new blog system. However, some posts may have incorrect or mismatched images. Please click the Report article button at the bottom of the post so AZDIGI can update as quickly as possible. Thank you!

What is Cron Job?

Cron Job have to execute cron jobs, scheduled tasks that the system runs at predefined times or intervals. Typically, a cron job contains a series of simple tasks that the system runs from a script file.

How to create Cron Job on cPanel

To make Cron Jobs work the requirements that you need to perform automatically on your Hosting, you do the following steps:

At cPanel, go to the Cron Jobs section.

Here you can customize your configuration sections:

After filling in all the information, click Add New Cron Job.

For example, I execute the Backup MySQL command line and delete the error_log file every day

rm /home/dotrungquan/public_html/wp-admin/error_log

Wishing you success!

Share:
This article has been reviewed by AZDIGI Team

About the author

Thạch Phạm

Thạch Phạm

Đồng sáng lập và Giám đốc điều hành của AZDIGI. Có hơn 15 năm kinh nghiệm trong phổ biến kiến thức liên quan đến WordPress tại thachpham.com, phát triển website và phát triển hệ thống.

10+ years serving 80,000+ customers

Start your web project with AZDIGI