Skip to content

Commit

Permalink
clear cron jobs now only clears queued job definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
ndortega committed Dec 16, 2023
1 parent a84f39f commit a8cbc64
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cron.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,10 @@ end
"""
clearcronjobs()
Clear any internal reference's to prexisting cron jobsjobs
Clear any internal reference's to prexisting cron jobs
"""
function clearcronjobs()
empty!(job_definitions[])
empty!(jobs[])
end

"""
Expand Down

0 comments on commit a8cbc64

Please sign in to comment.