OxygenFramework / Oxygen.jl

💨 A breath of fresh air for programming web apps in Julia
https://oxygenframework.github.io/Oxygen.jl/
MIT License
383 stars 25 forks source link

bugfix/cron-job-restarting-issue #137

Closed ndortega closed 6 months ago

ndortega commented 6 months ago
  1. stopcronjobs() just stops all running jobs (doesn't clear jobs). This enables us to restart these cron jobs
  2. added a new clearcronjobs() function which will wipe out any cron job definitions (will not impact running jobs)
  3. It's no longer possible to add duplicate cron jobs (same name, function, and expression)
codecov[bot] commented 6 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (299a561) 97.89% compared to head (a8cbc64) 97.69%.

Files Patch % Lines
src/cron.jl 87.50% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #137 +/- ## ========================================== - Coverage 97.89% 97.69% -0.21% ========================================== Files 12 12 Lines 857 867 +10 ========================================== + Hits 839 847 +8 - Misses 18 20 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.