User Tools

Site Tools


This is an old revision of the document!

Table of Contents


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!)


./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


As this wiki is pissing me off you can find the code here:

userspace/opsi-audit-cron.1459511246.txt.gz · Last modified: 2021/08/23 08:37 (external edit)