Understanding StartDate and EndDate Filters

Forum for questions and support relating to 1.33.x development only.
Post Reply
bignellrp
Posts: 19
Joined: Sun Dec 22, 2019 12:37 pm

Understanding StartDate and EndDate Filters

Post by bignellrp » Sun Jan 12, 2020 9:00 am

Hi,

Date/Time is missing on 1.33 and has been replaced with StartDate and EndDate.

StartDate for example only seems to let me choose a date. Im just trying to create a delete when older than 5 days but if i put -1 in startdate it finds all events including the current day.

I searched the docs and cant find any examples as the examples are for 1.32

User avatar
iconnor
Posts: 1255
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Understanding StartDate and EndDate Filters

Post by iconnor » Sun Jan 12, 2020 6:20 pm

Start Date/Time is there... so is Start Time.... Everything works the same as before, except that before you only had Date/Time which is ambiguous. Now we have Start Date/Time and End Date/Time which work the same as Date/Time did.

bbunge
Posts: 2684
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Understanding StartDate and EndDate Filters

Post by bbunge » Sun Jan 12, 2020 9:26 pm

Hmm..
Does not seem to let me set a purge after 30 days.
use to set
Date less than or equal to -30 day

Now a calendar comes comes up which sets a specific date. Really need to keep the rolling day purge somehow. Do not want to depend on purge at disk percent.

User avatar
iconnor
Posts: 1255
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Understanding StartDate and EndDate Filters

Post by iconnor » Sun Jan 12, 2020 10:57 pm

You can still type in -30 days

bbunge
Posts: 2684
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: Understanding StartDate and EndDate Filters

Post by bbunge » Sun Jan 12, 2020 11:37 pm

Is there any functional difference between Start and End (date/Time)?

Answered my own question..

Set up filter to delete events by days. Used both End Date and Start Date Less than or equal to -6 day Archived status unarchived only

and both worked.

mikb
Posts: 464
Joined: Mon Mar 25, 2013 12:34 pm

Re: Understanding StartDate and EndDate Filters

Post by mikb » Mon Jan 13, 2020 5:12 pm

bbunge wrote:
Sun Jan 12, 2020 11:37 pm
Is there any functional difference between Start and End (date/Time)?
The answer to that seems too obvious, but ... one filter option uses the START time of the event, and the other the END time of the event for filtering.

As your events are probably shorter than a day each, then you'd see pretty much the same behaviour, as they'd all start and end on the same day.

However, you might see some stuff happen around midnight (e.g. starts Tuesday 23:58, ends Wednesday 00:02) ... where one rule would zap this, but the other rule would wait a day later to zap it.

User avatar
iconnor
Posts: 1255
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Understanding StartDate and EndDate Filters

Post by iconnor » Mon Jan 13, 2020 9:42 pm

The only issue with EndDate is that it doesn't get populated until after the event is finished... so some action filters like SMS, Email etc won't act until the event closes. Not a big deal but something to keep in mind.

bignellrp
Posts: 19
Joined: Sun Dec 22, 2019 12:37 pm

Re: Understanding StartDate and EndDate Filters

Post by bignellrp » Mon Jan 20, 2020 10:03 pm

Sorry but I’m still having issues with this. I tried -3 days and delete all events but the disk continues to fill up. I keep having to manually go and delete the events folders from the server. The filter finds events and seems to be clearing from the dB but I’m not sure it’s deleting them from the server.

I tried -1 days and it’s the same.
Attachments
DEED4042-F539-4011-930E-48E3435DBDFF.jpeg
DEED4042-F539-4011-930E-48E3435DBDFF.jpeg (422.13 KiB) Viewed 2872 times

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests