[Package Index | Mudlib Index | Effect Index]
It is often desirable to schedule a task far into the future. This can be implemented via call_outs, however as the number of objects which require these callouts increases, performance decreases for call_out lookups.
Instead an object may register its execution time with the cron handler, and every CRON_CHECK_INTERVAL it will see which events are to be executed within that interval. If any exist, they will be scheduled with a submit_ee
Written by Taffyd
Started Wed Feb 26 01:06:04 2003
int add_job_by_time(int time,
mixed ob,
string func,
mixed args)
void bing(mixed args)
void check_jobs()
void check_order()
void clean_jobs()
void emergency_check_jobs()
int find_next_job(int ftime)
class cron_job * query_jobs()
int remove_jobs_by_file_name(mixed ob)
int remove_jobs_by_function(mixed ob,
string func)
class cron_job * view_jobs()
class cron_job {
int time;
mixed ob;
string func;
mixed args;
}