dbaudit | easily add auditing to your database tables | Database library
kandi X-RAY | dbaudit Summary
kandi X-RAY | dbaudit Summary
Generate audit triggers on Oracle database which logs changes to the audit_log table.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Create an engine from a configuration file
- Create a connection from a URL
- Return a connection URL
- Get configuration defaults
- Return a ConfigParser instance
- Generate audit triggers
- Remove audit triggers
dbaudit Key Features
dbaudit Examples and Code Snippets
Community Discussions
Trending Discussions on dbaudit
QUESTION
I currently have a .bat file with this code that is called by a windows scheduled task, and it runs perfectly (note I am not running the entire py script, just a function from within):
...ANSWER
Answered 2017-Jul-26 at 01:31eryksun has provided the correct answer, but has posted it as a comment, so I cannot mark it as the correct answer, so I will paste his reply here:
You don't need the CMD shell at all. Use the fully-qualified path to python.exe, and the arguments could be, for example,
-c "import os, sys; os.environ['PATH'] += r'C:\Python27\ArcGIS10.5;C:\Python27\ArcGIS10.5\Scripts'; sys.path.append(r'\moss\scripts\Automated'); import dbAudit; dbAudit.propInsDate()"
– eryksun Jul 20 at 1:52
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install dbaudit
install oracle instant client and python driver (cx_Oracle) pip install cx_Oracle
install dbaudit using pip: pip install git+https://github.com/krockode/dbaudit
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page