Skip to content

Instantly share code, notes, and snippets.

@jnikolak
Created October 26, 2016 13:39
Show Gist options
  • Save jnikolak/896232ed963cdca25911905b80d88764 to your computer and use it in GitHub Desktop.
Save jnikolak/896232ed963cdca25911905b80d88764 to your computer and use it in GitHub Desktop.
su - postgres -c "psql foreman -c \"select * from foreman_tasks_tasks where state = 'running' OR state = 'paused' OR state = 'planned';\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment