mhh12121 / goCrontab

Demo-mainly for practising channel and time package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goCrontab

Demo-mainly for practising channel and time package

To run

./goCron.go [port]

Data Structure

//this is for json
Task{
    id string
    cmd string
    args []string
    interval int
}

then you can simulate sending data to this port, data format is like above Now only support POST and DELETE to add or remove cronTab

About

Demo-mainly for practising channel and time package


Languages

Language:Go 100.0%