Thread
:
[Announce] SSH notifier script
View Single Post
jd4200
2011-06-12 , 23:21
Posts: 451 | Thanked: 424 times | Joined on Apr 2010 @ England
#
15
I don't think that tail is heavy or is it?
No, definitely not. I think it is more so the fact that the CPU would never be in an idle state because 'tail' defaults to checking every two seconds, so the CPU will be constantly switching between going idle and then waking, so it could be a battery drain.
I'm no expert in this area so I don't know; maybe a cron job would be better which externally executes the script (but not using the '-f' switch).
Nice job anyway!
Quote & Reply
|
jd4200
View Public Profile
Send a private message to jd4200
Find all posts by jd4200