-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: add cron job description to entry #485
Comments
i think you can save it to database,this is only the basic info in memory. |
My issue is the logger, I want to be able to add context to the logs for a job. |
when i use it ,i argee with you ,i want to log when the job is start and end.like this
but don't know which job running |
oh,i made a mistake,it can't calc the time , when run it use goroutine.
|
I would like to have some sort of a description of jobs added to the scheduler so that when it logs any entry, it logs the job's description along with the rest of the props.
Instead of
AddFunc(spec string, cmd func())
useAddFunc(desc, spec string, cmd func())
to add more context to jobs.The text was updated successfully, but these errors were encountered: