Re: [Solved] grep and cron & command line

2008-03-18 Thread s. keeling
T o n g <[EMAIL PROTECTED]>: > On Tue, 18 Mar 2008 10:54:46 -0700, Bob McGowan wrote: > > > > What's happening is the grep you're running is sometimes finding itself. > > That's exactly the reason. As you can see from my script that I've already The lesson is, "ps | grep blah" will find "grep

[Solved] grep and cron & command line

2008-03-18 Thread T o n g
On Tue, 18 Mar 2008 10:54:46 -0700, Bob McGowan wrote: >>> Now the crontab reads: >>> >>> * * * * *rootis_burning || logger get executed. >>> >>> + set -x >>> + ps -eaf >>> + grep -E -[dts]ao |cdrdao *write|growisofs.*speed=' >>> root 15306 15295 0 09:29 ?00:00:00 grep -E cd