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
{{ message }}
This repository was archived by the owner on Mar 22, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,18 @@ Often you don't want to open up another port just for OAuth of a small sync tool
87
87
To work around this you can run `java -jar googlesheets-sql-sync.jar --auth-only` on your local machine, then copy the generated `googlesheets_sql_sync.auth.json` file to your server and on the server run `java -jar googlesheets-sql-sync.jar --no-server`
88
88
89
89
90
+
### Single Sync
91
+
92
+
If you don't want to keep the syncing your data in an interval but want to sync only once,
93
+
you can do so by passing the `single-sync` like this: `java -jar googlesheets-sql-sync.jar --single-sync`
94
+
95
+
96
+
97
+
## Metrics
98
+
99
+
By default a simple Prometheus counter `googlesheets_sql_sync_count` is provided at `/metrics`.
100
+
101
+
90
102
### Customization
91
103
92
104
The program can be configured using command line flags. To see available options, run:
0 commit comments