Skip to content

Commit 88efbb8

Browse files
author
jdv
committed
forgot the sh for cron comands
1 parent 9dd1ff7 commit 88efbb8

File tree

1 file changed

+2
-2
lines changed
  • crowdsec-docs/unversioned/getting_started/installation

1 file changed

+2
-2
lines changed

crowdsec-docs/unversioned/getting_started/installation/cloudways.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ exit 0
209209
```
210210
- Add it to crontab, every day at 6 for example
211211
```
212-
0 6 * * * /home/master/crowdsec/hub_update.sh
212+
0 6 * * * sh /home/master/crowdsec/hub_update.sh
213213
```
214214
### Make sure log rotation not breaking acquisition
215215
As CrowdSec is not running as root in our current context, there could be some race conditions with log rotation file creation making the acquisition fail.
@@ -251,7 +251,7 @@ fi
251251

252252
Make the check run every day at 00:01
253253
```bash
254-
1 0 * * * /home/master/crowdsec/check_rotation.sh
254+
1 0 * * * sh /home/master/crowdsec/check_rotation.sh
255255
```
256256

257257

0 commit comments

Comments
 (0)