User Tools

Site Tools


userspace:opsi-audit-cron

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ====== 
-''./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.txt ยท Last modified: 2021/08/23 08:37 (external edit)