This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| one_off_reboot [2021/08/28 19:05] – hogwild | one_off_reboot [2024/10/31 21:41] (current) – hogwild | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== One-off | + | ====== |
| - | What if you wanted to perform, for example, a restart of your hardware device? | + | What if you wanted to perform, for example, a restart of your hardware device? |
| - | You might have noticed the option under Administration/ | + | You might have noticed the option under //Administration/ |
| - | A simple solution | + | A simple solution is to configure |
| - | The above can be done by adding a command directly into the crontable. | + | You can arrange the the above by adding a command directly into the crontable. |
| + | |||
| + | \\ | ||
| For example: | For example: | ||
| + | |||
| + | \\ | ||
| <code -> | <code -> | ||
| Line 15: | Line 19: | ||
| </ | </ | ||
| - | | + | \\ This command would restart your device at 5:00 AM. |
| - | This will take effect on a running device, but is not saved permanently | + | It would take effect on a running device, but wouldn' |
| - | If you need to remove the scheduled activity | + | \\ |
| + | |||
| + | The standard Unix cron syntax can be found here: [[https:// | ||
| + | |||
| + | \\ | ||
| + | |||
| + | If you need to remove the scheduled activity before it is executed, use the following command: | ||
| + | |||
| + | \\ | ||
| <code -> | <code -> | ||
| Line 25: | Line 37: | ||
| </ | </ | ||
| - | | + | \\ \\ To verify the schedule, use the " |
| + | |||
| + | \\ | ||
| <code -> | <code -> | ||
| cru l | cru l | ||
| </ | </ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | \\ | ||
| + | |||
| + | \\ | ||