Difference between revisions of "Cron actions"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 68: Line 68:
'''User''' – for which User/Users action has to be applied
'''User''' – for which User/Users action has to be applied


'''From''' – From which day of the month should be generated Invoice
'''Currency''' currency which will be used for Invoice generation


'''Till''' – Till which day of the month should be generated Invoice
'''From''' – day of the month which should be used as start of Invoice period


'''Set issue date''' – when should be invoice generated.
'''Till''' – day of the month which should be the end of Invoice period


'''Send after Invoice is generated?''' – if email sending is enabled, you can choose to send Invoices after it is generated.  
'''Send after Invoice is generated?''' – if email sending is enabled, you can choose to send Invoices after it is generated.  

Revision as of 07:46, 19 March 2015

Descriptions

Cron actions is MOR functionality which allows you to do some tasks at a specified time. Currently supported actions are these:

  • Change tariff (for Users)
  • Change LCR (for Users)
  • Change provider tariff (for Providers)
  • Generate Invoice (for Users)



NOTE that currently only System Admin is allowed yo use this functionality.

Important notes on billing

MOR takes the call price before the call and uses it to calculate the final price after the call is finished.

Example: User starts a call at 9:58 PM and is talking for 5 minutes, you have an action which changes tariff at 10:00 PM. When call will be finished MOR will bill user using older tariff. If user starts a call after tariff change - he will be charged using the new tariff assigned for him.

Usage

Go to SETTINGS –> Setup –> Settings –> Cron actions:

Cron actions path.png

Here you will find list of all Cron Actions

Cron settings list.png

Click Icon add.pngAdd new Cron Action to create new Cron Action.

Change tariff

Here is an example with an action Change tariff (applied for Users)

Cron actions settings.png

Name – enter here something that will help you to remember what this settings is about

Action – what to do. To change Tariff for User, choose Change tariff

User – for which User/Users action has to be applied

Tariff – which tariff to set

Periodic type – how often to perform the task

Repeat forever – makes action never stop

From – when to start doing the action

Till – when to stop doing the action

Description – you can use this field for your notes

Generate Invoices and send by Email

Here is an example with an action Generate Invoice (applied for Users)

Cron actions settings2.png

Name – enter here something that will help you to remember what this settings is about

Action – what to do. To generate Invoice for User, choose Generate Invoice

User – for which User/Users action has to be applied

Currency – currency which will be used for Invoice generation

From – day of the month which should be used as start of Invoice period

Till – day of the month which should be the end of Invoice period

Send after Invoice is generated? – if email sending is enabled, you can choose to send Invoices after it is generated.

Periodic type – how often to perform the task

Repeat forever – makes action never stop

From – when to start doing the action

Till – when to stop doing the action

Description – you can use this field for your notes

See also