You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hi, I can't help you with a Wiki entry, but since I set it up yesterday I can describe the process:
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)
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
Make it executable: chmod +x report.sh
Go to the Freenas web UI and navigate to "Tasks" → "Cron Jobs" → "Add"
Put any description
Put the path to the script as command (for example /root/report.sh)
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.
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.
The text was updated successfully, but these errors were encountered: