What is a Scheduled Task?
Websites often require repetitive actions to be executed, such as maintenance operations, ongoing optimizations, and processing queues regularly.
To handle these kinds of repetitive actions, over the years, webmasters used cron
, a job scheduler available on all Linux-based environments and generally made available on all the major shared hosting services. Cron allows you to execute tasks on a planned basis; this includes choosing the command to execute and the frequency with which such a command should be actioned.
Even though cron is generally available among hosting providers, sometimes, it has some limits in terms of frequency or the number of tasks you can set up. Furthermore, it’s not easy to set up a cron because you need to know the path of the PHP executable if you want to execute a PHP script, or the path to the curl
function if you want to call a web page or an API endpoint.
To avoid such limits and simplify the setup process, Joomla...