Instead of adding the trigger programmatically, I would add the trigger through the Apps Script project interface menu for triggers. You can use the menu to schedule as you need.