How to send % progress from a script?

Hello, Community,

I am running some scripts that go for a long time. Does anybody know how to update the Progress that is shown on the jobs explorer from a script?

thanks,

-gf