> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.xynta.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Setting up a Cronjob

||| ℹ️ **Note:** This article applies to our Web and Reseller Hosting packages.
---

* [Setting up a cronjob](#3-setting-up-a-cronjob)
* [Instructional Video](#3-instructional-video)
---

### Setting up a cronjob

1. Log in at `https://voorbeeld.cc:2222` (or use [Single Sign-On (SSO)](/en/article/logging-in-to-hosting-package-via-single-sign-on-sso-1biycbb/)).
2. Under **Advanced Features**, click on **Cron Jobs**.
3. Click the **+ CREATE CRON JOB** button in the top right corner.

Below are some examples:

**Run every 15 minutes:**
* **Minute:** `/15`
* **Hour, Day of Month, Month, Day of Week:** leave unchanged.

**Run daily at 03:00 AM:**
* **Minute:** `0`
* **Hour:** `3`
* **Day of Month, Month, Day of Week:** leave unchanged.

**Run every Monday at 01:15 AM:**
* **Minute:** `15`
* **Day of Week:** `1`
* **Hour, Day of Month, Month:** leave unchanged.

| 🔎 **Tip:**

Use [Crontab.guru](https://crontab.guru/) to easily generate the correct cronjob syntax.

4. Under **Command**, enter the command you want to execute, for example:
   
* `/usr/local/php /path/to/the/file.php`
* or `wget -q https://voorbeeld.cc/file.php`

5. Click **PREVENT EMAILS** if you do not want to receive an email after each execution.
   *(It will automatically add `/dev/null 2>&1` to your command.)*

6. Finally, click **CREATE** at the bottom.

Your cronjob is now set up and will run automatically according to the specified interval.

||| ℹ️ **Important:** Replace `voorbeeld.cc` with your own domain name in this guide.
---

### 🎦 Instructional Video

${youtube}[](mN4RcNwrAe4)