> For the complete documentation index, see [llms.txt](https://laravelsharedhosting.novate.co.uk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laravelsharedhosting.novate.co.uk/siteground-shared-hosting/setting-up-a-cron-job.md).

# Setting up a CRON job

You will most likely need the scheduler running in order to perform your regular tasks.

Setting up CRON with Siteground is quite easy

From the Site Tools / Devs section, add a new cronjob as below

`cd ~/www/example.org/Live && php81 artisan schedule:run >> /dev/null 2>&1`

Set this with a custom pattern of five start separated by spaces.  This equates to every minute.

<figure><img src="https://2008339792-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfM57M3YNsgiUJou3cG75%2Fuploads%2F7XZfqr0b1mCp98ykwLNF%2FScreenshot%202022-11-27%20at%2020.20.32.png?alt=media&amp;token=cce44e2e-b967-485d-b9de-5113ef3e5d9c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
substitute example.org with your domain name
{% endhint %}
