Tags: asad-awadia/gocron
Tags
handle creating a job after an update and delete (go-co-op#194)
wait for interval respected by cron func (go-co-op#192) * wait for interval respected by cron func * lint
Remove recursive read locks (go-co-op#177) * removing unnecessary read locks, which are blocking the whole engine * Restoring the TaskPresent read lock * Removing recursive readlock in TaskFind function * Created a new function _jobPresent, and calling jobPresent Using this approach, we are avoiding the recursive read locks Co-authored-by: Dinesh Kumar <dineshkumar02@gmail.com> Co-authored-by: John Roesler <johnrroesler@gmail.com>
add WaitForSchedule(s) funcs (go-co-op#162) * add WaitForSchedule(s) funcs * simplify Co-authored-by: Arjun Mahishi <arjun.mahishi@gmail.com> * WaitForSchedules -> WaitForScheduleAll * fix example Co-authored-by: Arjun Mahishi <arjun.mahishi@gmail.com>
handle occasional occurence of double run on daily job (go-co-op#159) * handle occasional occurence of double run on daily job * use job.LastRun() instead of lastRun * reorder code * Update scheduler.go Co-authored-by: streppel <streppels@gmail.com> Co-authored-by: streppel <streppels@gmail.com>
fix lastRun not being set properly in schedule next run (go-co-op#154)
Add 2 new functions to Scheduler (go-co-op#149) * `RunByTag` - Run all jobs that have a specific tag * `RunByTagWithDelay` - Run all jobs that have a specific tag with a delay in between executions Fix: `RemoveByTag` function should remove all jobs with the given tag. Not just the first job encountered
go-co-op#142 validation of params is added (go-co-op#144) * go-co-op#142 validation of params is added * go-co-op#142 test refactoring * wrap or return the error Co-authored-by: John Roesler <johnrroesler@gmail.com>
PreviousNext