Hi,
I've created network weathermap for my network. Now I want to change default "Page Refresh" interval from 300 seconds to 200 seconds for all the users.
I can certainly change it for few users, but there are more than 100 users here.
See attached for more information.
Is there a way to do it for all users either by editing a file or by updating a table in cactidb?
Thanks,
Ray
How to change Page Refresh Interval for All Users
Moderators: Developers, Moderators
-
- Posts: 12
- Joined: Thu Apr 30, 2009 11:38 am
- Location: San Diego
How to change Page Refresh Interval for All Users
- Attachments
-
- graph_Settings.JPG (103.92 KiB) Viewed 2675 times
Code: Select all
update settings_graphs set value=200 where `name`='page_refresh';
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
-
- Posts: 12
- Joined: Thu Apr 30, 2009 11:38 am
- Location: San Diego
Thanks for the SQL query. It updated only 20 rows, against 375 users I have.Linegod wrote:Code: Select all
update settings_graphs set value=200 where `name`='page_refresh';
Any idea why few users show up when you query "settings_graphs" table using below query?
select user_id from settings_graphs where name='page_refresh';
+---------+
| user_id |
+---------+
| 1 |
| 18 |
| 33 |
| 48 |
| 50 |
| 51 |
| 52 |
| 54 |
| 82 |
| 88 |
| 92 |
| 164 |
| 225 |
| 227 |
| 247 |
| 262 |
| 272 |
| 324 |
| 333 |
| 335 |
+---------+
20 rows in set (0.01 sec)
- Attachments
-
- sql_output.JPG (31.67 KiB) Viewed 2630 times
Who is online
Users browsing this forum: No registered users and 1 guest