Setting up scheduled tasks known as Cron Jobs on a Ubuntu server

Setting up scheduled tasks known as Cron Jobs on a Ubuntu server

In this short article, I will set up scheduled tasks known as Cron Jobs on a Ubuntu server. This will allow me to automatically run PHP scripts on the server at various points in time without any interaction. Any user account on the Ubuntu server can set up their own Cron Jobs which will run under their own account. If you want to make sure the scheduled task has full access to everything then it will need to run under a privileged account such as the “root” user and you can do that from a user account that has sudo permission. In my case, I want to run server-wide jobs