We have moved at community.getvera.com

Author Topic: Prior notification of an event start  (Read 244 times)

Offline kalavo

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Prior notification of an event start
« on: May 10, 2018, 01:59:58 am »
Looking for advice to trigger events before the start of a calendar item. Current experience with GCal3 makes me think I have to roll my own in either Lua or PLEG, but want to see if anyone has already done this.

I work widely varying shifts, and would like to trigger events 1 hour and 15 minutes before the start time. So far my best bet seems to be to use PLEG to run a script regularly checking whether the next calendar entry will occur, and sleeping until the period before.

Has anyone done this and have any suggestions or example code?

Thanks!

Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: Prior notification of an event start
« Reply #1 on: May 10, 2018, 10:29:40 am »
StartDelta and EndDelta are your friends ....