Skip to content

Instantly share code, notes, and snippets.

View gchristofferson's full-sized avatar
👍
Working on something great

Gregg Christofferson gchristofferson

👍
Working on something great
  • Windsor California
View GitHub Profile
@gchristofferson
gchristofferson / cbl.js
Last active October 13, 2017 07:27 — forked from patt0/cbl.js
ContinuousBatchLibrary is a Google Apps Script library that manages large batches and works around the 5 minute limitation of GAS execution. It does this by setting time based triggers in the future as well as memorising the last processed key in the batch in order to restart from the correct position. At the end of the batch a cleanup function …
/**
* --- Continous Execution Library ---
*
* Copyright (c) 2013 Patrick Martinent
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0