Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Can we have some sort of Wiki about installation / usage #11

Open
kaipee opened this issue Feb 23, 2020 · 2 comments
Open

[question] Can we have some sort of Wiki about installation / usage #11

kaipee opened this issue Feb 23, 2020 · 2 comments

Comments

@kaipee
Copy link

kaipee commented Feb 23, 2020

As per title, I'm assuming the script simply runs on the FreeNAS server itself, but it is not totally clear whether it must be executed from the local server or can be ran remotely using the APIs.

@m-rm
Copy link

m-rm commented Feb 23, 2020

Hi, I can't help you with a Wiki entry, but since I set it up yesterday I can describe the process:

  1. Connect with SSH and download the script: wget https://github.com/edgarsuit/FreeNAS-Report/raw/master/report.sh (path doesn't really matter, as long as you can find it again)
  2. Edit the settings using a text editor such as nano or vi: nano report.sh. Make sure you change the e-mail address and the path for backups
  3. Make it executable: chmod +x report.sh
  4. Go to the Freenas web UI and navigate to "Tasks" → "Cron Jobs" → "Add"
  5. Put any description
  6. Put the path to the script as command (for example /root/report.sh)
  7. Choose root for "Run as User"
  8. Set the interval (I chose weekly)
  9. Click "SAVE CRON JOB"

Done

@kaipee
Copy link
Author

kaipee commented Feb 24, 2020

Hi, I can't help you with a Wiki entry, but since I set it up yesterday I can describe the process:

1. Connect with SSH and download the script: `wget https://github.com/edgarsuit/FreeNAS-Report/raw/master/report.sh` (path doesn't really matter, as long as you can find it again)

2. Edit the settings using a text editor such as nano or vi: `nano report.sh`. Make sure you change the e-mail address and the path for backups

3. Make it executable: `chmod +x report.sh`

4. Go to the Freenas web UI and navigate to "Tasks" → "Cron Jobs" → "Add"

5. Put any description

6. Put the path to the script as command (for example `/root/report.sh`)

7. Choose root for "Run as User"

8. Set the interval (I chose weekly)

9. Click "SAVE CRON JOB"

Done

Yip I already figured it out and have the script successfully running. This was just a request for other user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants