I'm attempting to create a time-based trigger to execute my incrementCell
function once a year on a specified date at 1 AM in perpetuity. When attempting to run below
ScriptApp.newTrigger("incrementCell").timeBased().atDate(2018, 1, 4).atHour(1).everyWeeks(52).create();
I received an "Already chosen a specific date time with at() or atDate()."
error.
Interestingly, the line immediately below does not error out:
ScriptApp.newTrigger("incrementCell").timeBased().atDate(2018, 1, 4).create();