Taskerville.Scheduler.Server (taskerville v0.0.1)
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1.
ex: %Taskerville.Scheduler.Server.ScheduleItem{ crontab: ~e[ ], func: {Kernel, :is_atom, [:frank]}, max_concurrent: 4, task_name: "atom_tester" }
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor.
Link to this function
get_scheduled_items()
Link to this function
init(state)
Callback implementation for GenServer.init/1.
Link to this function
schedule_task(chron_str, task_name, max_concurrent, func)
Link to this function
start_link(args)
ex: %Taskerville.Scheduler.Server.ScheduleItem{ crontab: ~e[ ], func: {Kernel, :is_atom, [:frank]}, max_concurrent: 4, task_name: "atom_tester" }