Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Is it possible to output "logger" only when it changes?

Featured Replies

Hey, is it possible to only display the output of "logger text here" when the text changes?

 

I have a script which runs eery 5 minutes, now it displays mostly the same, is it possible to only display it when it changes?

 

Is there any documention about logger?

Edited by nuhll

16 minutes ago, nuhll said:

Is there any documention about logger?

http://man7.org/linux/man-pages/man1/logger.1.html

16 minutes ago, nuhll said:

Hey, is it possible to only display the output of "logger text here" when the text changes?

Would require you to parse the syslog file, looking for identical lines and replace them akin to what happens when  you run diagnostics.

 

Probably easier way would be to modify the logic of your script to not output if the previous line was the same, and instead of running it every 5 minutes, run it once in a continual loop with a 5 minute sleep period between cycles

  • Author

If i could, i would. But i need to scrap everything from the internet and make it somehow work.

 

I didnt found anything usefull on the link, thanks anyway, thought maybe there was an option to do so.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.