You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, sorry to post it as an issue. I want to know if there is function to know if a job still running maybe by input it entry id? Or how do I check if a job is still running? Thank you
The text was updated successfully, but these errors were encountered:
Really depends on your goal here. Do you want to determine if this cron library has kicked off the job in its own goroutine or do you want to determine if the job actually ran/completed? The latter I believe is outside the scope of this library.
The former you can determine using comparisons between Entry.Prev/Entry.Next and time.Now().
For example if Entry.Prev has a 0 time value then you know that cron has never run the job.
Hi, sorry to post it as an issue. I want to know if there is function to know if a job still running maybe by input it entry id? Or how do I check if a job is still running? Thank you
The text was updated successfully, but these errors were encountered: