Skip to content

Commit 0a349d4

Browse files
author
Victor Bouvier-Deleau
committed
Change cron setup instructions
1 parent 913a400 commit 0a349d4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,9 @@ find . -type f -name "*.sh" -exec chmod +x {} \;
3737
Finally you will need to create cron jobs in the FreeNAS WebUI in order to execute the reporting and backup script on a schedule. [The FreeNAS documentation explains how to do it.](https://www.ixsystems.com/documentation/freenas/11.2/tasks.html#cron-jobs) The command to execute should be:
3838

3939
```sh
40-
cd /path/to/the/script && ./script.sh
40+
/path/to/the/script.sh
4141
```
4242

43-
Otherwise the sourcing of the `.conf` files that happens at the beginning of each script will fail.
44-
4543
## Contributing
4644

4745
Contributions in the form of issues or PR are welcome if you see any area of improvement or if you have new ideas for useful scripts!

0 commit comments

Comments
 (0)