schedule

First step to schedule a job on the scheduled job server.

The scheduled job needs to be a top-level function that doesn't read any variables from outside its arguments because it may be run in a new process, without any context existing later.

You MUST set details on the returned object to actually do anything!

template schedule(alias fn, T...)
version(with_breaking_cgi_features)
schedule
()
if (
is(typeof(fn) == function)
)

Members

Functions

schedule
ScheduledJobHelper schedule(T args)

Meta