|
Revision ea0809f5e7f454f5e874bca7d79be8e2d6a10789, 0.9 kB
(checked in by Denish Patel <denish@omniti.com>, 4 years ago)
|
Added job to cleanup prism.saved_graphs table with saved_graphs=false.
|
- Property mode set to
100644
|
| Line | |
|---|
| 1 |
#rollup jobs |
|---|
| 2 |
* * * * * /opt/pgsql835/bin/psql -d reconnoiter -U stratcon -c "select stratcon.rollup_matrix_numeric_5m();" >/tmp/rollup_5.log 2>&1 |
|---|
| 3 |
00,10,20,30,40,50 * * * * /opt/pgsql835/bin/psql -d reconnoiter -U stratcon -c "select stratcon.rollup_matrix_numeric_20m();" >/tmp/rollup_20.log 2>&1 |
|---|
| 4 |
01,31 * * * * /opt/pgsql835/bin/psql -d reconnoiter -U stratcon -c "select stratcon.rollup_matrix_numeric_60m();" >/tmp/rollup_60.log 2>&1 |
|---|
| 5 |
02 00,03,06,09,12,15,18 * * * /opt/pgsql835/bin/psql -d reconnoiter -U stratcon -c "select stratcon.rollup_matrix_numeric_6hours();" >/tmp/rollup_6hours.log 2>&1 |
|---|
| 6 |
03 00,06,12 * * * /opt/pgsql835/bin/psql -d reconnoiter -U stratcon -c "select stratcon.rollup_matrix_numeric_12hours();" >/tmp/rollup_12hours.log 2>&1 |
|---|
| 7 |
#cleanup jobs |
|---|
| 8 |
01 00 * * * /opt/pgsql835/bin/psql -d reconnoiter -c "delete from prism.saved_graphs where saved = false and last_update<current_timestamp - '1 day' ::interval;" 1>/dev/null |
|---|