Difference between revisions of "Cron actions"

From Kolmisoft Wiki
Jump to navigationJump to search
m
Line 7: Line 7:


''Available from MOR 11''
''Available from MOR 11''
* Change tariff  (for users)


* Change provider tariff (for providers)  
* Change provider tariff (for providers)  

Revision as of 05:58, 26 October 2011

What is cron actions

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

Available from MOR 10

  • Change tariff (for users)

Available from MOR 11

  • Change tariff (for users)
  • Change provider tariff (for providers)



Who can use this functionality

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.


How to create a cron action?

Settings are self explaining here is an example with an action Change tariff (applied for users)

1. Go to SETTINGS -> Setup -> Settings -> Cron actions:

Cron actions path.png

2. Set the settings:

Cron actions settings.png

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

Action - what to do. Currently only change_tariff is supported.

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


3. Press Create to create the action.

4. Finished, you will be taken to a list of all defined actions:

Cron settings list.png