mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-14 23:40:58 +00:00
Finish writing and testing service scheduling code.
This commit is contained in:
@@ -1,2 +1 @@
|
||||
* 8 * * 1,2,3,4,5 pt-agent --run-service query-monitor
|
||||
|
||||
|
1
t/pt-agent/samples/crontab002.in
Normal file
1
t/pt-agent/samples/crontab002.in
Normal file
@@ -0,0 +1 @@
|
||||
17 3 * * 1 cmd
|
2
t/pt-agent/samples/crontab002.out
Normal file
2
t/pt-agent/samples/crontab002.out
Normal file
@@ -0,0 +1,2 @@
|
||||
17 3 * * 1 cmd
|
||||
* 8 * * 1,2,3,4,5 pt-agent --run-service query-monitor
|
3
t/pt-agent/samples/crontab003.in
Normal file
3
t/pt-agent/samples/crontab003.in
Normal file
@@ -0,0 +1,3 @@
|
||||
17 3 * * 1 cmd
|
||||
* * * * 1 pt-agent --run-service old-service
|
||||
|
2
t/pt-agent/samples/crontab003.out
Normal file
2
t/pt-agent/samples/crontab003.out
Normal file
@@ -0,0 +1,2 @@
|
||||
17 3 * * 1 cmd
|
||||
* 8 * * 1,2,3,4,5 pt-agent --run-service query-monitor
|
@@ -1 +1 @@
|
||||
{"runs":[{"number":"0","options":"--output json","output":"spool","program":"pt-query-digest"}],"name":"query-monitor","alias":"Query Monitor","schedule":"..."}
|
||||
{"runs":[{"number":"0","options":"--output json","output":"spool","program":"pt-query-digest"}],"name":"query-monitor","alias":"Query Monitor","schedule":"* * * * *"}
|
Reference in New Issue
Block a user