harbor/job/scheduler.go

8 lines
107 B
Go
Raw Normal View History

2016-04-20 08:24:17 +02:00
package job
2016-05-12 10:11:28 +02:00
var JobQueue chan int64 = make(chan int64)
2016-05-10 13:38:50 +02:00
func Schedule(jobID int64) {
2016-05-12 10:11:28 +02:00
JobQueue <- jobID
2016-05-10 13:38:50 +02:00
}