If your version of sed supports it, use -i (inline editing). Otherwise, create a temporary copy of the file, grep & sed that and pipe the result to cronoutput.txt.
thnx for your reply, my unix version doesn't support -i, I am able to grep the script and do a sed on it but my result is a single line, I wan all my old entires in cronoutput.txt too.. any further suggestions !!