Skip to content

Commit

Permalink
Added note about wp cron
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Jun 4, 2024
1 parent 0776fd7 commit 6e3a0a0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,22 @@ WP_DEFAULT_THEME=wordplate
+WP_ALLOW_MULTISITE=true
````

</details>
<details>
<summary><strong>Can I disable WP-Cron and set up a manual cron job?</strong></summary>

WordPlate allows you to disable the internal WordPress cron system via the `DISABLE_WP_CRON` environment variable:

```env
DISABLE_WP_CRON=true
````

It is recommended to manually set a cron job if you enable this setting and disable the WordPress cron. You'll need to add the following in your crontab file:

```sh
*/5 * * * * curl https://example.com/wp/wp-cron.php
````

</details>
<details>
<summary><strong>Can I install languages with Composer?</strong></summary>
Expand Down

0 comments on commit 6e3a0a0

Please sign in to comment.