Correct the crontab entry so that $RANDOM works correctly.

This commit is contained in:
2023-08-12 19:42:54 -07:00
parent 45d358e9d3
commit 5f30fa5a67

View File

@@ -21,7 +21,7 @@ The sleep waits anywhere from 0 to 55 minutes due to the
[Random/10](https://tldp.org/LDP/abs/html/randomvar.html).
```
@hourly sleep $(( $RANDOM / 10 )); $PROJECT_DIR/Config/DynamicDNS/update_dns.sh
@hourly bash -c 'sleep $(( $RANDOM / 10 )); $PROJECT_DIR/Config/DynamicDNS/update_dns.sh'
```
### TESTING