Cron is a job scheduler that works on Unix\Linux hosting. It allows you to automatically perform certain actions on the server (running programs, scripts, etc.) at a specified time or frequency.
To ensure the proper functioning of the MetaSite CMS system, it is necessary to create a cron entry to perform the system functions of the website. The system has many tasks that need to be executed at specific times, such as sending notifications to users, promoting ads, generating reports, importing and exporting data, loading countries and cities, and more.
Adding a cron record on the hosting
Adding a cron entry using the TimeWeb hosting example.
- Name - Specify any name for the cron task
- Executor - HTTP request
- Request URL - Link to the script from the admin panel
- Frequency - 1 minute
You can find the script link in your website
Team: wget -q -O - The link to the script from the admin panel > /dev/null 2>&1
The script must be run every minute. To do this, place an asterisk in the Minutes, Hours, Days of Months, Months, and Days of the Week fields.
You can find the script link in your website