[need help] Remove old data from the log

Here's what I did:

Profile: @cellidw (52) Restore: no State: Cell Near [ Cell Tower / Last Signal:GSM:. / * Ignore Cells:* ] Time: From 09:00 Till 18:00 State: Power [ Source:Any ] Day: Mon, Tue, Wed, Thu or Fri Enter: CellIDwork (53) Abort Existing Task <get cell id> A1: If [ %CTw !~ %CELLID & %CELLID !~ GSM:0.0 ] A2: Variable Set [ Name:%return To: Recurse Variables:Off Do Maths:Off Append:Off ] A3: Variable Set [ Name:%CTw To:%TIMES-%CELLID%return Recurse Variables:Off Do Maths:Off Append:On ] A4: Variable Search Replace [ Variable:%CTw Search: Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In: Replace Matches:On Replace With: ] A5: End If A6: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ] A7: Goto [ Type:Action Label Number:1 Label:get cell id ] If [ %PACTIVE ~ ,@cellidw, ]

Exit: CellsW (57) A1: Variable Set [ Name:%return To: Recurse Variables:Off Do Maths:Off Append:Off ] A2: Variable Clear [ Name:%Timez Pattern Matching:Off ] A3: Variable Set [ Name:%Timez To:%TIMES-172800 Recurse Variables:Off Do Maths:On Append:Off ] A4: Variable Clear [ Name:%CellsW Pattern Matching:Off ] A5: Variable Set [ Name:%cellidtime To:%CTw Recurse Variables:Off Do Maths:Off Append:Off ] A6: Variable Clear [ Name:%CTw Pattern Matching:Off ] A7: Variable Split [ Name:%cellidtime Splitter:%return Delete Base:Off ] A8: For [ Variable:%line Items:%cellidtime() ] A9: Variable Split [ Name:%line Splitter:- Delete Base:Off ] A10: If [ %line1 > %Timez ] A11: Variable Set [ Name:%CellsW To:%line2%return Recurse Variables:Off Do Maths:Off Append:On ] A12: Variable Set [ Name:%CTw To:%line1-%line2%return Recurse Variables:Off Do Maths:Off Append:On ]

/r/tasker Thread Parent