skyewright wrote:Ah. "ed". Mmmm. I think I used to use the old MSDOS equivalent, but that was a long time ago!
I now realise that that should have been
Ah, "vi"!
No wonder I was getting no where trying to treat use "ed" syntax - it's a long time since I'd used ed, but I'd never used vi so I didn't recognise it! The first google hit I found on crontab had suggested that ed was usually the default editor. Seeing messages like "q not supported" made be a bit suspicious, but in my ignorance I thought in maybe it was a very cut down version! :laugh:
While googling I found that the choice of editor was user modifiable, and that I should be able to change it via the EDITOR environment variable. When I did
set | grep EDITOR
to check that, I discovered that it was already set to vi! :laugh:
A quick trip to a vi tutorial and the crontab is now updated to rm /var/run/*.idx every hour (I think)
Looking back on this I suspect that the problem has actually been cropping up several times a day for ages. Now I know to look for the cache seems to have been filling in a little over 5 hours by requests from WD, then being cleared automatically within an hour. What I think brought it to light was trying (and failing) to manually run a graph at a point when the cache was full, then I happened to try a logging protocol "last reading" call just to see if that was working, an that's when I saw the message that is the topic title!
Oh well, we live and learn - if we are fortunate. :)
I know know a bit more about Linux systems than I did before. :cheer:
Thanks for the pointer.