Add manual firmware check trigger instructions to README
This commit is contained in:
parent
fcf3ce154f
commit
ee5852ecc0
1 changed files with 23 additions and 0 deletions
23
README.md
23
README.md
|
|
@ -72,6 +72,29 @@ mix format # Format code with Styler
|
|||
mix compile --warnings-as-errors
|
||||
```
|
||||
|
||||
### Firmware Version Tracking
|
||||
|
||||
The system automatically checks for latest firmware versions daily (2 AM dev, 4 AM prod). To manually trigger a firmware check:
|
||||
|
||||
```bash
|
||||
# Start IEx console
|
||||
iex -S mix phx.server
|
||||
|
||||
# Manually trigger firmware version fetch
|
||||
Oban.insert(Towerops.Workers.FirmwareVersionFetcherWorker.new(%{}))
|
||||
```
|
||||
|
||||
The worker will:
|
||||
1. Fetch the latest MikroTik RouterOS version from RSS feed
|
||||
2. Store version information in the database
|
||||
3. Enable firmware update indicators on device detail pages
|
||||
|
||||
Check the logs for fetch results:
|
||||
```elixir
|
||||
# View recent Oban jobs
|
||||
Towerops.Repo.all(Oban.Job) |> Enum.take(5)
|
||||
```
|
||||
|
||||
## Learn more
|
||||
|
||||
* Official website: https://www.phoenixframework.org/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue