You will need to work out how much chlorine generation you need per day and run the pump long enough to produce it. What size is your cell? The first piece of info that helps work this out is what you can producein a 24 hr period at 100%. Btw, the pump can run with or without the swg on, but the swg can only work with the pump running.
Eg. In my 24k gal pool using a t15 cell, I produce about 1.4 lb of chlorine gas per 24 hour periodor roughly 1 ounce per hour.
Using pool math (the bottom “effects” section, I know that 1.4 lb of chlorine gas in 24k gallons of water equals roughly 7.9 ppm of FC — so that’s my max production at 100% over 24 hrs. Assuming I only need about 25% (or less) of that in a day, my options are to run the pump 6 hours at 100%, or 12 hours at 50%, or 24 hrs at 25%, etc.
What I do in open season (as opposed to dome when FC loss is very low so I only run the swg for a few hours) is run the swg during daylight hours so there’s a steady stream of production against the sun...so 9 - 9 at 50% or less. But I have a variable speed pump so I can run that at a low rpm to save energy. Others might prefer shorter pump run times so might run it 9-3 pm at 100%.
I like running my pump more because living in the woods I get a lot of debris and need the skimming action to keep clear of leaves and everything else that blows in

Having a sand filter, I’m also a fan of the extra polishing longer run times gives the water. Others prefer shorter runs.
Hope that helps give you a start in your thinking of run times. A bit of experimentation will get it sorted.