znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
343 stars 83 forks source link

Fixed generic agent scheduled jobs immediate executions after schedule change #406

Closed pboguslawski closed 6 months ago

pboguslawski commented 1 year ago

Proposed change

When generic agent job is scheduled (i.e. execute at 04:00 everyday) and then schedule is changed 3 min. later (i.e. execute ar 05:00 everyday), changed job is executed immediately without waiting for new schedule.

This mod fixes it (job will be executed on next future time matching new schedule).

Type of change

Additional information

Replaces: https://github.com/znuny/Znuny/pull/125 Author-Change-Id: IB#1110525

Checklist