NSW Premier Chris Minns said the government has agreed to run as many 24-hour train services as possible this weekend from Thursday night to prevent the strike action.