Creating Cron Jobs

TrueNAS allows users to run specific commands or scripts on a regular schedule using cron(8). Creating a Cron Job Go to Tasks > Cron Jobs and click ADD. The Description helps identify the purpose of the cron job and is optional. Enter the Command to run on the Schedule. Alternately, enter the path to a script file to run instead of a specific command. Don’t forget to define the shell type when using a path to a script file.
Read full post gdoc_arrow_right_alt

Creating Init/Shutdown Scripts

Create an Init/Shutdown Script TrueNAS can schedule commands or scripts to run at system startup or shutdown. Go to Tasks > Init/Shutdown Scripts and click ADD. Enter a Description, then select a Type. Command Type Enter a command with any options you want. You can find commands here or on our Community Forums. Can I use a path for the Command? You can also include the full path to a command in the entry.
Read full post gdoc_arrow_right_alt

Running S.M.A.R.T. Tests

S.M.A.R.T. (Self-Monitoring, Analysis and Reporting Technology) is an industry standard for disk monitoring and testing. Disks are monitored for problems using several different kinds of self-tests. TrueNAS can adjust when and how alerts for S.M.A.R.T. are issued. When S.M.A.R.T. monitoring reports an issue, we recommend you replace that disk. Most modern ATA, IDE, and SCSI-3 hard drives support S.M.A.R.T. Refer to your respective drive documentation for confirmation. S.M.A.R.T. tests run on a disk.
Read full post gdoc_arrow_right_alt