question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can I set Time-driven triggers with `clasp`?

See original GitHub issue

Expected Behavior

https://developers.google.com/apps-script/guides/triggers/installable#time-driven_triggers

I want to set time-driven triggers with clasp.

Actual Behavior

Is there no option for setting?

Steps to Reproduce the Problem

Specifications

% clasp --version
1.5.3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mTorrescommented, Nov 27, 2018

Can you check if running Apps Script to create a trigger works?

I can confirm that creating triggers dinamically from Apps script works. I have a quite complex Spreadsheet that collects answers from a Google Form and I automatically install a trigger for the onAnswerRecived (this is not the name but hope you get what I mean).

0reactions
abetomocommented, Dec 18, 2018

@takanakahiko Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Apps Script: Time Driven Triggers timezone issue
How about this answer? Unfortunately, atDate and atHour cannot be used, simultaneously. In your case, atDate is used and the trigger is ...
Read more >
Installable Triggers | Apps Script - Google Developers
The following example shows how to create two time-driven triggers—one that fires every 6 hours, and one that fires every Monday at 9...
Read more >
At a Scheduled Time Automation Trigger - Airtable Support
Use the "Days" interval type to trigger your automation every set number of days (from 1-30) at a set time. With this option...
Read more >
Google Apps Script Tips to build Add-ons | Railsware Blog
Using time-based triggers in an add-on is similar to a cron task that runs by rules set up for it. You can schedule...
Read more >
Google Apps Script (GAS) and Clasp Cheatsheet
You can create and use a .claspignore file to ignore files from being ... You are executing code via triggers (time based, doGet...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found