function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rafael Suarez 14Rafael Suarez 14 

Job log says 2 Million seconds duration ???


I created a simple Apex schedulable class to update a single field in the user object.  Every night at 11 PM, the job is to copy the contents of the Last Login, cast it to date val, and save it to another field (business reasons, Last login is tricky, could not implement in declarartive).

The apex class was scheduled to run at 11 PM.  At 11:05-ish  I saw a debug log entry, stating that the job ran at 11:00:05 PM , and duration was more than 2 million ms.    However, the Apex Scheduled Jobs didn't update  the 'started ' date column until  30 mins later!

Any ideas on how in the world is it possible that
the debug logr declared the job finished right on time
the scheduled jobs did not update it until 15 mins later
still, thats nowhere near the declared duration of +2 million seconds (555 hrs) ?
Apex Log entry
Thanks
Rafa