userspace:opsi-audit-cron
This is an old revision of the document!
Table of Contents
Description
This Script can be used as a cronjob to make all clients do a hwaudit and swaudit on a regular basis. The script dies only work with MySQL-Backend (probably also works when using free variant with only inventory in DB!)
Usage
./opsi-audit-cron.php [-d] [-t]
- -d Enables Debug-Output for diagnostic
- -t Enables Trace-Output (e.g. returned Data from RPC-Call) - Does not imply Debug!
For Cronjobs you should use some output redirection. For example like that:
./opsi-audit-cron.php » /var/log/opsi/opsi-audit-cron.log
Code
As this wiki is pissing me off you can find the code here: https://forum.opsi.org/viewtopic.php?f=7&t=8271&p=36087#p36087
userspace/opsi-audit-cron.1459511246.txt.gz · Last modified: (external edit)
