2

In the sitecron job - Site smart publish I enabled the job and have the job scheduled to run daily.

But if I try to execute the job manually anytime then I do a Execute Sitecron job now which runs the job in the background and I can see it updates in the log file with the actual date time stamp of when it was run.

But why the LastRunUTC variable is not getting updated with the current date and time when it was manually executed?

1 Answer 1

0

That is expected behavior.

LastRunUTC value is updated by the CustomJobListener class which is used by SiteCron scheduler.

That's why it's updated only when scheduler executes the job. It's not updated when job is executed manually.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.