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.
| cancel/1 | |
| get_datetime/1 | |
| recalculate/1 | |
| set_datetime/3 | |
| start_link/2 | Starts the server with the apropriate job and the appropriate ref. |
| validate/1 | Validate that a run_when spec specified is correct. |
cancel(Pid::pid()) -> ok
get_datetime(Pid::pid()) -> calendar:datetime()
recalculate(Pid::pid()) -> ok
set_datetime(Pid::pid(), DateTime::calendar:datetime(), Actual::erlcron:seconds()) -> ok
start_link(JobRef::erlcron:job_ref(), Job::erlcron:job()) -> ignore | {error, term()} | {ok, pid()}
Starts the server with the apropriate job and the appropriate ref
validate(Spec::erlcron:run_when()) -> valid | invalid
Validate that a run_when spec specified is correct.
Generated by EDoc