Skip to content
6 changes: 3 additions & 3 deletions docs/content_management/url_management/url_management.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,20 +40,20 @@ To enable automatic URL validation, set up cron to run the `ibexa:check-urls` co
For example, to check links every week, add the following script:

```
echo '0 0 * * 0 cd [path-to-ibexa]; php bin/console ibexa:check-urls --quiet --env=prod' > ezp_cron.txt
echo '0 0 * * 0 cd [path-to-ibexa]; php bin/console ibexa:check-urls --quiet --env=prod' > ibexa_cron.txt
```

Next, append the new cron to user's crontab without destroying existing crons.
Assuming that the web server user data is www-data:

```
crontab -u www-data -l|cat - ezp_cron.txt | crontab -u www-data -
crontab -u www-data -l | cat - ibexa_cron.txt | crontab -u www-data -
```

Finally, remove the temporary file:

```
rm ezp_cron.txt
rm ibexa_cron.txt
```
Comment thread
adriendupuis marked this conversation as resolved.
Outdated

### Configuration
Expand Down
8 changes: 4 additions & 4 deletions docs/getting_started/install_ibexa_dxp.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,20 +402,20 @@ To enable delayed publishing of Content using the Date-based Publisher, you must

For example, to check for publishing every minute, add the following script:
Comment thread
adriendupuis marked this conversation as resolved.
Outdated

`echo '* * * * * cd [path-to-ibexa-dxp]; php bin/console ibexa:cron:run --quiet --env=prod' > ezp_cron.txt`
`echo '* * * * * cd [path-to-ibexa-dxp]; php bin/console ibexa:cron:run --quiet --env=prod' > ibexa_cron.txt`

For 5-minute intervals:

`echo '*/5 * * * * cd [path-to-ibexa-dxp]; php bin/console ibexa:cron:run --quiet --env=prod' > ezp_cron.txt`
`echo '*/5 * * * * cd [path-to-ibexa-dxp]; php bin/console ibexa:cron:run --quiet --env=prod' > ibexa_cron.txt`

Next, append the new cron to user's crontab without destroying existing crons.
Assuming the web server user data is `www-data`:

`crontab -u www-data -l|cat - ezp_cron.txt | crontab -u www-data -`
`crontab -u www-data -l | cat - ibexa_cron.txt | crontab -u www-data -`

Finally, remove the temporary file:

`rm ezp_cron.txt`
`rm ibexa_cron.txt`

### Enable the Link manager

Expand Down