My home has an L14-30 type generator hookup that is located in an attached garage. About 50 feet away I have a barn with an LPG quick connect. In the event of a power outage my plan is to hook up a tri-fuel generator to the LPG connection at the barn and then run the generator cable over to the plug in the garage. Most L14-30 generators cables seem to be closer to 25ft in length so I'm wondering if there is some maximum limit to these cables from a safety or code perspective.
Would something like this cable be a safe option? I'm hesitant to buy it because its length seems to be an outlier.