Skip to content

Conversation

@jamesros161
Copy link
Contributor

@jamesros161 jamesros161 commented Feb 14, 2025

This resolves #612

The issue turned out to caused by a previous commit: 710cb88

This change was made to remove the cron if there are no scheduled jobs to keep it from running unnecessarily.
However, this didn't account for the fact that when new jobs are added to the list of scheduled jobs, the cron entry
isn't being re-added. This PR will add the cron entry if it doesn't already exist, anytime a job is added to the list of scheduled jobs.

Additionally, I am adding a table to the Total Upkeep > Tools > Cron Log that will display the list of currently scheduled jobs.
image

As for adding a log entry for anytime the settings are changed, that is already present under Total Upkeep > Tools > History
image

Added a jobs-queue log file, that logs when a job is added, running, and deleted.
image

@jamesros161 jamesros161 marked this pull request as ready for review February 14, 2025 19:12
@jamesros161 jamesros161 requested a review from bwmarkle February 17, 2025 19:37
@jamesros161 jamesros161 merged commit 1bdc790 into master Feb 24, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jobs queue appears to have been delayed by ~2 days

3 participants