Skip to content

Latest commit

 

History

History

schedule

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Schedule logo

The scheduler is pretty self explanatory. You need a task scheduled? Done.


Routes

▶ /task

Type Route Description Parameters Returns
POST /start Schedules a task { id: String, url: String, body: JSON, cronString: String } { running: Boolean }
GET /list Checks details of tasks None { tasks: [TaskObj] }
POST /stop Stops a task { id: String } { stopped: Boolean }
POST /destroy Destroys a task { id: String } { destroyed: Boolean }
// id = task-[RandomAlphaNumeric]

//TaskObj
{
    id: String, // id
    url: String,
    body: Object,
    cronString: String,
    running: Boolean
}

▶ /schedule

Type Route Description Parameters Returns
GET /health Confirms server alive N/A N/A