Weird error that appears only with the scheduled trigger
Everything works well when I’m launching the script manually. But when the script is executed with the daily scheduled trigger; it fails. It fails at the stage when an array is sorted.
Everything works well when I’m launching the script manually. But when the script is executed with the daily scheduled trigger; it fails. It fails at the stage when an array is sorted.