Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple Erlang task scheduler for my eyes only
Erlang
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
ebin
include
priv
src
.gitignore
Emakefile
README.md

README.md

Simple task scheduler written in Erlang

This is a toy, written as part of my Erlang learning and not something I expect other people to use, or find interesting.

It starts one or more task schedulers that run an arbitrary shell command at the same time every day.

I currently use it to start the radio playing for an hour each morning.

Example

% Start the scheduler
application:start(wake_app).

% Start playing SBS Radio 2 at 8am every morning, until 9am.
{ok, TaskRef} = wake_app:schedule("open 'radium://tune-in/?h=&b=sbs&c=2&'",
                                  {8,0,0},
                                  3600).

% Stop the scheduler
application:stop(wake_app).

License & Copyright

Haha.

Something went wrong with that request. Please try again.