Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output as TXT #1

Closed
f4depo opened this issue Oct 1, 2019 · 1 comment
Closed

Output as TXT #1

f4depo opened this issue Oct 1, 2019 · 1 comment

Comments

@f4depo
Copy link

f4depo commented Oct 1, 2019

Sorry for my ignorance. I've searched but I can't do what I want because of array structure. Summarize, how can I write output as txt? So I can make this process with cron and I can look which files changed with output text files.

@firewizard
Copy link
Owner

Hey - not sure I understand your use case, but if you're asking how you could save the report in a text file (like a log file) than all you have to do is run the monitor without email reporting and redirect the output to a file. something like this: php theia-monitor.php --path /var/www/ > theia.log . you can of course expand on this and save each output in a different log file each the monitor runs, using the current datetime - you would probably need a bash script for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants