Understand Cronjobs
Cronjobs is a schedule command/task that are executed on your server to run automatically at a specified time and date or interval. Typically, a cron job contains a series of simple tasks that the system runs from a script file. It can be very useful to automate repetitive tasks such as sending emails out.
Cronjobs Configuration
Cronjobs are really simple to be configured. There are 3 required pieces of information that you'll need to have; which cronjobs provider, what is my cronjob's command, and cronjob's schedules.
Cronjobs Provider
There are many cronjobs provider available. Some of them are provided by your hosting provider and the others are external provider. So, contact your hosting provider to clarify if they support cron functionalities.
Each cronjobs provider might have a different steps to be configured. Therefore, contact your hosting provider to assist you on setting up your cronjobs.
Cronjob's Command
The command is a script that runs when the cronjobs fires. This is the default cronjobs command for EasyArticles.
/usr/bin/wget -O /dev/null "https://yoursite.com/index.php?option=com_easyarticles&cron=true"
Cronjob's Schedules
Schedule is the time interval at which you wish to run the cronjob. The intervals can be broken down into the following:
- Minute - Enter the minute of each hour at which to run the cron job. For example, enter
15to run the cron job at 15 minutes past the hour. - Hour - Enter the hour of each day (in 24-hour format) at which to run the cron job. For example, enter
2100to run the cron job at 9:00 PM local time. - Day - Enter the day of the month on which to run the cron job. For example, enter
15to run the cron job on the 15th of the month. - Month - Enter the month of the year in which to run the cron job. For example, enter
7to run the cron job in July. - Weekday - Enter the day(s) of the week on which to run the cron job. For example, a value of
0indicates Sunday, or a value of 6 indicates Saturday.
* to run the cron job at all intervals.