Created
April 23, 2019 01:13
-
-
Save FlorianHeigl/0b41941b60fccd16045418355ec95a76 to your computer and use it in GitHub Desktop.
update fuer bastis plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "<<<bacula_jobs:sep(9)>>>" | |
echo "Select JobId, Name, JobStatus, EndTime FROM Job WHERE EndTime BETWEEN NOW() - interval '30 days' AND NOW();" | sudo -u postgres psql --tuples-only bacula bacula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment