Skip to content

Commit cecd51a

Browse files
committed
update readme
1 parent 9fd34f9 commit cecd51a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ func main() {
5959

6060
// start the web UI server
6161
srv := server.NewServer(scheduler, 8080)
62+
// srv := server.NewServer(scheduler, 8080, server.WithTitle("My Custom Scheduler")) // with custom title if you want to customize the title of the UI (optional)
6263
log.Println("GoCron UI available at http://localhost:8080")
6364
log.Fatal(http.ListenAndServe(":8080", srv.Router))
6465
}
@@ -72,6 +73,7 @@ Open your browser to `http://localhost:8080` to view the dashboard.
7273
- **Job Control** - Trigger jobs manually or remove them from the scheduler
7374
- **Schedule Preview** - View upcoming executions for each job
7475
- **Tagging System** - Organize and filter jobs by tags
76+
- **Configurable Title** - Customize the UI header and page title to match your needs
7577
- **Embedded UI** - Static files compiled into binary, zero external dependencies
7678
- **Portable** - Single self-contained binary deployment
7779

@@ -184,7 +186,7 @@ You can customize the UI title using the `WithTitle` option:
184186
srv := server.NewServer(scheduler, 8080, server.WithTitle("My Custom Scheduler"))
185187
```
186188

187-
This will update both the browser tab title and the header title in the UI.
189+
This will update both the browser tab title and the header title in the UI. When using a custom title, the UI automatically displays a subtle "powered by gocron-ui" attribution below the title.
188190

189191
#### Command-line Example
190192

0 commit comments

Comments
 (0)