J
Joey Samoy
Guest
Hi, Recently encountered log entries 9240. I want to run a script and get notication as soon as the first entry of this message gets written in the log file. I would run a cron job that will run every x minutes (seconds?) to read last x lines of the log. Or grep a tail -f, and send the result to a file, but still need cron to process the file if it exists. Was thinking perhaps, somebody has done something like event/subscribe mechanism so the script and notification process runs as the entry gets written? TIA.
Continue reading...
Continue reading...