This site is an archive; learn more about 8 years of OpenHatch.

[Devel] Cron <root at linode> sh -c 'if [[ `python ps_mem.py 2>/dev/null | grep production | awk '{print $7}' | sed s/[.].*//` -gt 32 ]] ; then echo hi ; fi'

Asheesh Laroia asheesh at openhatch.org
Mon Jan 11 01:16:41 UTC 2010


Excerpts from Cron Daemon's message of Mon Jan 11 01:03:00 +0000 2010:
> } | sed s/[.].*//` -gt 32 ]] ; then echo hi ; fi: -c: line 0: unexpected EOF while looking for matching ``'
> } | sed s/[.].*//` -gt 32 ]] ; then echo hi ; fi: -c: line 1: unexpected token `' in conditional command
> } | sed s/[.].*//` -gt 32 ]] ; then echo hi ; fi: -c: line 1: syntax error: unexpected end of file

Sorry about the noise. This won't email devel@ again.


More information about the Devel mailing list