Does the word "run" have the same definition in the next two sentences?

The assembly line was on a 12-hour run.

He went to Las Vegas and spent all his money over a three-day run.
the same meaning