ajvb / kala Goto Github PK
View Code? Open in Web Editor NEWModern Job Scheduler
License: MIT License
Modern Job Scheduler
License: MIT License
Man, how I wish Kala and Dcron would just work together.
https://github.com/victorcoder/dcron
Fusing both would be AWESOME (I'd even like to help).
What Dcron gets right:
What Kala gets right:
Finish out all of the TODO's.
Examples:
From: #36 (comment)
Similar to #18, but specifically for node.js
Use abtime to be much more specific in my testing of the job scheduling.
Right before public release
I just discovered this: http://askubuntu.com/questions/339298/conveniently-schedule-a-command-to-run-later
Stats for each run:
strings.Split(
echo "hello world", " ")
will get parsed as []string{"echo", "\"hello ", "world\""}
, which may work in this particular case, but is not correct.
Solutions:
Use https://github.com/kballard/go-shellquote
or the workaround recommended by https://groups.google.com/d/msg/golang-nuts/qYVlLVR5504/o-Td7DU6qsIJ --
exec.Command("/bin/sh",
echo "hello world"
)
Flags:
Add language specific directories, and remove the left over crap.
It would be nice to be able to specify an alternate path for the jobdb rather the .
. Thanks btw, this project looks great
From: #36 (diff)
Hi,
I think in client/client.go/New() the check for the optional slash "/" means to check for trailing "/", not for leading "/", and if so, it should use strings.HasSuffix(), not strings.HasPrefix().
Btw.: Nice work here.
Regards, Frank
From: #36 (comment)
1. Running a Python script
2. Running a Ruby script
3. Running a Node.js script
Right now we have a Redis implementation for a JobDB. Would be awesome to have Redis work as the JobCache and/or JobDB.
Logging is currently done via 222Labs common/go
repo. This dependancy needs to be removed, unless we open source that repo before this one.
Add a pluggable backend for postgres.
Is it really necessary to include each route twice like that? Is this so people can append a /
or not and still get what they want?
r.HandleFunc(ApiJobPath+"{id}", HandleJobRequest(cache, db)).Methods("DELETE", "GET")
r.HandleFunc(ApiJobPath+"{id}/", HandleJobRequest(cache, db)).Methods("DELETE", "GET")
...
r.HandleFunc(ApiJobPath+"stats/{id}", HandleListJobStatsRequest(cache)).Methods("GET")
r.HandleFunc(ApiJobPath+"stats/{id}/", HandleListJobStatsRequest(cache)).Methods("GET")
Currently, the go client library utilizes Sling to do the HTTP communication. This is not required, and we should simply use the standard library.
https://github.com/ajvb/kala/blob/master/api/api_test.go doesn't show up in the coveralls test results, but https://coveralls.io/builds/3291410/source?filename=api%2Ftest_utils.go does. What gives? Should coveralls filter out the test cases themselves? Is it as simple as the test_*.go
vs. *_test.go
?
RunAsUser can only be used when running kala as a priviledged user.
Related to #44
And add to install instructions.
Should:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.