bundle renewal - recursive actions

59 views
Skip to first unread message

kashif....@gmail.com

unread,
Nov 18, 2020, 6:55:53 AM11/18/20
to CGRateS
Hi, 

I need a configuration in cgrates where a balance is topup_reset recursively on a given date/time. For example, I have an offer/bundle where some account balance needs to be topup_reset by 'x' amount every 1st of the each month at 00:01 hrs. Anyone can help how can I execute Actions recursively?

Regards

kashif....@gmail.com

unread,
Nov 20, 2020, 1:23:00 AM11/20/20
to CGRateS
Can anyone please help on this? I tried to find details on SehedulerS but on the website there are no specific details and TBD is written. My main requirement is to have scheduled (e.g. weekly or monthly) deduction or topup to the balances. I'd appreciate if someone please helps me in implementing this.

Regards
Kashif 

Alexandru Tripon

unread,
Nov 26, 2020, 8:03:47 AM11/26/20
to cgr...@googlegroups.com
Hi Kashif,

In order to execute actions recursively you need:
- Actions.csv (https://github.com/cgrates/cgrates/blob/master/data/tariffplans/tutorial2/Actions.csv#L19) to describe the actions you want (*topup_reset)
Or you can skip the Timings.csv and use the predefined timings (e.g. *every_minute,*hourly,*daily,*weekly,*monthly,*yearly ) that will execute the action plan recursively.

Thanks,
Trial97


--
You received this message because you are subscribed to the Google Groups "CGRateS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cgrates+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cgrates/5da24fd3-3096-4cfc-8487-7a6c9b8e4b09n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages