# Automatic Payouts (Expert)

## Adding a Cron Job for Payouts <a href="#statistics-and-payouts-addingacronjobforpayouts" id="statistics-and-payouts-addingacronjobforpayouts"></a>

In order to automate Payouts, you can use Cron Jobs on your server/site.&#x20;

First, you need to edit the wp-config.php file and paste the following line of code anywhere above the line that says "That’s all, stop editing! Happy blogging":

```
define('DISABLE_WP_CRON', true);
```

After that, you need to add a cron job from the cron tab in your hosting.

![](https://2021837383-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MDO9V_qgvV5cQdw04iz%2F-MTJ2rI-KdPdQlE1hjoy%2F-MTJ3bdQ7ucJj2zEDdAm%2FScreenshot_240.png?alt=media\&token=6b7b43d2-84a4-41b5-97f4-4ede1cc0787c)

{% hint style="info" %}
Example:\
Cron At 00:00 on day-of-month 1.\
0 0 1 \* \* wget -O /dev/null <https://yoursite.com/wp-cron.php?doing_wp_cron>
{% endhint %}

{% hint style="success" %}
**Here are some manuals for adding cron jobs:**\
cPanel - [**https://www.youtube.com/watch?v=YwpUjz1tMbA**](https://www.youtube.com/watch?v=YwpUjz1tMbA)\
Vesta CP - [**https://www.plothost.com/kb/create-delete-cron-jobs-vesta/**](https://www.plothost.com/kb/create-delete-cron-jobs-vesta/)\
Kinsta Hosting - [**https://kinsta.com/knowledgebase/how-to-write-a-cron-job/**](https://kinsta.com/knowledgebase/how-to-write-a-cron-job/)
{% endhint %}
