Module ecrn_control

Provides testing/fast forward control for the system.

Copyright © Erlware, LLC. All Rights Reserved. This file is provided to you under the BSD License; you may not use this file except in compliance with the License. -------------------------------------------------------------------

Behaviours: gen_server.

Description

Provides testing/fast forward control for the system

Function Index

cancel/1
datetime/0
multi_set_datetime/2sets the date-time with the erlcron on all nodes.
set_datetime/1sets the date-time for the erlcron.
start_link/0

Function Details

cancel/1

cancel(AlarmRef::erlcron:job_ref()) -> ok | undefined

datetime/0

datetime() -> {calendar:datetime(), erlcron:seconds()}

multi_set_datetime/2

multi_set_datetime(Nodes::[node()], DateTime::calendar:datetime()) -> ok

sets the date-time with the erlcron on all nodes

set_datetime/1

set_datetime(DateTime::calendar:datetime()) -> ok

sets the date-time for the erlcron

start_link/0

start_link() -> {ok, pid()} | ignore | {error, term()}


Generated by EDoc