Skip to content

Instantly share code, notes, and snippets.

@ChrisRisner
Created December 21, 2012 20:17
Show Gist options
  • Save ChrisRisner/4355481 to your computer and use it in GitHub Desktop.
Save ChrisRisner/4355481 to your computer and use it in GitHub Desktop.
ScheduledScript
function AddTodoItem() {
var todoTable = tables.getTable('TodoItem');
todoTable.insert({
text: "Todo:" + new Date(),
complete: 0
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment