This shows you the differences between two versions of the page.
userspace:opsi-audit-cron [2016/04/01 11:47] dark alex created |
userspace:opsi-audit-cron [2021/08/23 08:37] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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 ====== | ||
- | '' | ||
- | * -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: | ||
- | |||
- | '' | ||
- | |||
- | |||
- | ====== Code ====== | ||
- | As this wiki is pissing me off you can find the code here: | ||
- | https:// | ||
- | |||
- | |||