You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When modifying the cron expression for any job in the routing system, the job starts executing immediately upon saving the new cron expression, instead of waiting for the next scheduled time according to the updated expression.
Steps to Reproduce:
Navigate to the job configuration screen in the Marg
Select any job and update its cron expression to a new value.
Save the changes.
Observe that the job runs immediately after saving, instead of waiting for the next scheduled time.
Expected Behavior:
The job should not run immediately after updating the cron expression. It should wait until the next scheduled time as per the new cron expression.
Actual Behavior:
The job runs immediately after the cron expression is updated.
Impact:
This issue could lead to unintended job executions, potentially affecting system stability and causing disruptions in the routing process.
The text was updated successfully, but these errors were encountered:
As per the schedule job runner, if the service job's last scheduled time is before its last run time, the system won’t execute the job. However, if the cron expression is updated and the new scheduled time is set to be later than the previous scheduled time, the system will compare the new scheduled time with the last run time. If the new scheduled time is after the last run time, the system will proceed to execute the job.
Example:
If a service is scheduled to run at 9:00 AM, the system executes the job at 9:00:10 AM, and then the cron expression is updated to 9:05 AM, the system will compare the new scheduled time (9:05 AM) with the last run time (9:00:10 AM). Since the new scheduled time is after the last run time, the system will execute the service job.
When modifying the cron expression for any job in the routing system, the job starts executing immediately upon saving the new cron expression, instead of waiting for the next scheduled time according to the updated expression.
Steps to Reproduce:
Navigate to the job configuration screen in the Marg
Select any job and update its cron expression to a new value.
Save the changes.
Observe that the job runs immediately after saving, instead of waiting for the next scheduled time.
Expected Behavior:
The job should not run immediately after updating the cron expression. It should wait until the next scheduled time as per the new cron expression.
Actual Behavior:
The job runs immediately after the cron expression is updated.
Impact:
This issue could lead to unintended job executions, potentially affecting system stability and causing disruptions in the routing process.
The text was updated successfully, but these errors were encountered: