This is an old revision of the document!
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]
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: https://forum.opsi.org/viewtopic.php?f=7&t=8271&p=36087#p36087