jobrunner
jobrunner copied to clipboard
Support user-defined job name
as this issue #8 say, currenctly I can not add a job using user-defined name. I create a RP and resolve this. The example is as follow:
var myFunc = func(){}
jobrunner.Schedule("cron.frequent", jobs.Func(myFunc), "my-job")