Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#FIX : datenextrun for CRON #30724

Open
wants to merge 3 commits into
base: 19.0
Choose a base branch
from

Conversation

atm-GregM
Copy link
Contributor

#FIX : datenextrun for CRON

Fix on new entry CRON, the next run is not included.

@@ -1572,6 +1576,9 @@ public function insert_cronjobs()
if (is_int($priority)) {
$sql .= "'".$this->db->escape($priority)."', ";
}
if (!empty($datenextrun)) {
$sql .= "'".$this->db->escape($datenextrun)."', ";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For a date, we must use
$this->db->idate()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace by idate() 👍

@eldy eldy added github_note No meaning, for internal use. PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do) labels Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_note No meaning, for internal use. PR to fix - See feedback in comments PR needs to be fixed to be integrated (some comments should describes the fix to do)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants